Checking the clean bit of a filesystem

Justin Hopper gus at gusalmighty.com
Wed Jun 11 13:30:17 PDT 2003


Hello,

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).

Thanks.

-- 
Justin Hopper <gus at gusalmighty.com>



More information about the freebsd-questions mailing list