fsck.ufs

Robert Millan rmh@debian.org
Mon, 18 Apr 2005 13:20:35 +0200


Hi!

With ufsutils +kbsd.1 that I just uploaded to gnuab the clean filesystem flag
is handled properly.

It won't clean your root filesystem unless you run it when it's not mounted
read-write, though.  So if your kernel prints a "/ is unclean" warning when
mounting your root (and it almost certainly it does), you'd do the following
to solve it:

  - boot in single
  - mount -o ro /
  - fsck.ufs -y /dev/adXsYa
  - reboot

I'm not sure why / is not remounted as readonly to run fsck automaticaly,
though.  I guess there's another bug around;  probably an issue in
communication between sysvinit and kfreebsd. 

-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-