Subject: Oops. :)
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 07/03/2002 22:13:24
My new favorite fsck vs. mount_ffs difference:

> # fsck -yf /dev/wd0e
> ** /dev/rwd0e
> ** Last Mounted on /home
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 170220 files, 6385589 used, 3540562 free (14226 frags, 440792 blocks, 0.1%
> fragmentation)
>
> MARK FILE SYSTEM CLEAN? yes
>
>
> ***** FILE SYSTEM MARKED CLEAN *****
>
> ***** FILE SYSTEM WAS MODIFIED *****
> # mount /home
> mount_ffs: /dev/wd0e on /home: incorrect super block

wd0e was originally a BSD/OS filesystem mounted on an IDE drive.  I rebuilt
the disk label, but it should be correct; certainly, it's close enough for
fsck to work on it.

If it matters, the filesystem is a 4k/32k filesystem, with 64 cpg.

-s