[hacknews] clean-filesystem stuff revised, unclean

henry@utzoo.UUCP (Henry Spencer) (03/22/84)

The code that bypasses filesystem checks on reboot after a clean shutdown
has been revised so that it records cleanliness for individual filesystems
rather than as a single flag for all.  This makes it possible to bypass
some of the checking even if the shutdown was not completely clean.

I also modified shutdown to remove any spurious clean-filesystem flags
hanging around at shutdown time (although there aren't supposed to ever
be any), and to sleep for 60 seconds after sending the "kill everything"
signal to init.  The latter change is in hopes of eliminating the minor
annoyance of having root's login shell get one more prompt out before it
succumbs to init's kill signals.

The unclean(1) command now makes it possible to selectively mark certain
filesystems as "unclean" after shutdown, so that they get checked even if
the shutdown was clean.  We've wanted this a couple of times when we were
suspicious of specific filesystems and wanted them checked.  Just plain
"unclean" marks everything unclean.  See unclean(1) for details.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry