Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sun-lamp CVS commits
- To: source-changes
- Subject: sun-lamp CVS commits
- From: The Source of All Evil <source>
- Date: Tue, 11 Jul 1995 21:50:02 -0400
cgd
Tue Jul 11 21:49:26 EDT 1995
Update of /a/cvsroot/src/sbin/fsck
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv227
Modified Files:
fsck.8 main.c setup.c
Log Message:
implement a 'force check' flag, '-f'. I used the SunOS name, but the Digital
semantics. now:
(1) dirty file systems will always be checked; nothing new there.
(2) if not '-f' clean file systems will _NEVER_ be checked,
i.e. they won't be checked even if -p isn't specified. This
allows one to 'fsck -p ; fsck' to preen, then clean up
anything that 'fsck -p' barfs on, without waiting for the
clean file systems to be checked again.
(3) if '-f' clean file systems will ALWAYS be checked. This
allows people to put 'fsck -fp' into /etc/rc on systems
where they're leery of the FS clean flag state, need
the extra reliability, and can afford time 'wasted'
in checks.
The assumption made here is that if a file system is marked clean, it
_IS CLEAN_, really, and shouldn't be checked unless fsck is explicitly
told to (with -f). This should be a valid assumption, but may not be in
the presence of file system bugs. Documentation updated to note '-f'.
Home |
Main Index |
Thread Index |
Old Index