From: Stephen Tweedie (sct@dcs.ed.ac.uk)
Date: 04/07/93


From: sct@dcs.ed.ac.uk (Stephen Tweedie)
Subject: Re: fast fsck ...
Date: 7 Apr 1993 21:28:58 GMT


> Does Linux fsck support checking for stable/clean filesystems? In
> other words, if the filesystem is properly sunk (past tense of
> sync!) when the system is halted, does fsck notice this and skip it
> at the next boot?

Not quite. Something like this is present in e2fs; the filesystem
does not mark a successful sync(), because ironically sync()ing does
not guarantee a completely consistent filesystem if applications are
writing to the disk during the sync().

However, if an e2fs filesystem is clean when it is mounted, then the
clean flag _will_ be set again upon successful unmounting of the
filesystem, and the e2fsck program will check this flag and pass over
the filesystem if it is clean.

Cheers,
 Stephen Tweedie.