On Thu, 2005-03-03 at 23:50 +0000, Mike Williams wrote:
> On Thursday 03 March 2005 23:05, A. Khattri wrote:
> > You can also force a full fsck every time you boot by creating the file
> > /forcefsck (e.g. "touch /forcefsck") when shutting down - the next time
> > you restart it will do a full fsck of all disks.
> 
> Not quite. You need to set the last field of each partition line in fstab to 
> a 
> number greater than 1, otherwise the forcefsck won't touch them.

however, while looking into this, (because I noticed I haven't ever seen
the filesystem check when I shutdown uncleanly) I found
in /etc/init.d/checkfs:

fsck -C -T -R -A -a

now I'm happy with all of that except the -R, according to man fsck:

-R     When checking all file systems with the -A flag, skip  the  root
              file system (in case it's already mounted read-write).

Am I right when I read this as "don't even bother to try to check the
root fs"?  Shouldn't it be rather "try to check the root fs unless its
mounted read-write"?

any thoughts?
-- 
Iain Buchanan <[EMAIL PROTECTED]>

--
[email protected] mailing list

Reply via email to