Date: 11 Jun 2003 22:42:37 +0200 From: Christian Laursen <xi@borderworlds.dk> To: freebsd-questions@freebsd.org Subject: Re: Checking the clean bit of a filesystem Message-ID: <m3n0gouz0i.fsf@borg.borderworlds.dk> In-Reply-To: <1055363235.24174.1492.camel@work.gusalmighty.com> References: <1055363235.24174.1492.camel@work.gusalmighty.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Justin Hopper <gus@gusalmighty.com> writes:
> Does anyone know the easiest way, besides running fsck, to check the
> clean bit on a filesystem? I need to check if a filesystem is marked
> clean and I do not want to call fsck. If there is not a way through
> userland commands to check the clean bit, can someone point me in the
> general direction of where this bit is set (variable name in some
> structure, etc).
dumpfs(8) prints a lot of stuff about the specified filesystem, including
the clean flag.
--
Best regards
Christian Laursen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3n0gouz0i.fsf>
