check if file system is clean ...
noackjr at alumni.rice.edu
Sun Sep 10 13:42:59 PDT 2006
Marc G. Fournier wrote:
> I checked both fsck and fsck_ffs man page, and don't see anything in
> either ... is there some way I can check if a file system is actually
> 'clean', without running fsck?
Google Groups revealed the following:
[root at optimator:~] $ dumpfs /usr | grep clean
cgrotor 512 fmod 0 ronly 0 clean 0
[root at optimator:~] $
Using dumpfs(8) for this purpose is a little like using a jackhammer to
drive a nail into drywall; it Gets The Job Done but there sure is a lot
of noise and heavy lifting... :)
More information about the freebsd-stable