Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 16:42:48 -0400
From:      Jonathan Noack <noackjr@alumni.rice.edu>
To:        "Marc G. Fournier" <freebsd@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: check if file system is clean ...
Message-ID:  <450478C8.4000504@alumni.rice.edu>
In-Reply-To: <20060910164158.C1031@ganymede.hub.org>
References:  <20060910164158.C1031@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-June/008898.html

[root@optimator:~] $ dumpfs /usr | grep clean
cgrotor 512     fmod    0       ronly   0       clean   0
[root@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... :)

-Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?450478C8.4000504>