Subject: Updated fsck_ffs
To: None <current-users@netbsd.org>
From: Daniel Bolgheroni <dbolgheroni@sigmanet.com.br>
List: current-users
Date: 03/31/2004 15:18:14
Hi,

I'm trying to update my current version of NetBSD to a newer -current.
So, I've compiled a new kernel and initiazed it.

I've got some messages regarding possible botched superblock upgrade. I
read http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html,
but I'm having some problems.

What can I do to know if my version of fsck_ffs is updated to upgrade
the filesystem and to know from what date my -current version is?

If my version is wrong, what can I do to manually upgrade my version of
fsck_ffs?

$ dmesg

(...)

WARNING: possible botched superblock upgrade detected
on filesystem previously mounted on /
fs_bsize == fs_maxbsize (0x00002000) but FS_FLAGS_UPDATED is not set
Test your filesystem by running fsck_ffs -n -f on it.
If it reports:
``VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE''
you should be able to recover with fsck_ffs -b 16 -c 4
See the file src/UPDATING or
http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html
for more details
root file system type: ffs
init: copying out path `/sbin/init' 11
WARNING: possible botched superblock upgrade detected
on filesystem previously mounted on /var
fs_bsize == fs_maxbsize (0x00002000) but FS_FLAGS_UPDATED is not set
Test your filesystem by running fsck_ffs -n -f on it.
If it reports:
``VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE''
you should be able to recover with fsck_ffs -b 16 -c 4
See the file src/UPDATING or
http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html
for more details
$