Date: Fri, 26 Dec 2008 03:00:35 +0000 From: Bruce Cran <bruce@cran.org.uk> To: David Wolfskill <david@catwhisker.org> Cc: hackers@freebsd.org Subject: Re: How to quickly determine if UFS2 FS is "clean" from command line? Message-ID: <20081226030035.24154a3d@gluon> In-Reply-To: <20081226014956.GR4100@albert.catwhisker.org> References: <20081226011402.GP4100@albert.catwhisker.org> <20081226012224.2fbd579a@gluon> <20081226014956.GR4100@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Dec 2008 17:49:56 -0800 David Wolfskill <david@catwhisker.org> wrote: > A reality check later, I find that for the file systems in question, > dumpfs(8) produces the wanted information (and quite a bit more) > nearly instantly, then spends about 33 seconds dumping cylinder group > information that I have no interest in. I only ran it on a 2GB filesystem so I didn't see how slow it is! It looks like ffsinfo(8) can also display the superblock: by specifying only level 0x001 it should be fast, though the flags are combined into a single value in the output. -- Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081226030035.24154a3d>