Subject: more info on fsck -c 2 crash/failure to clean up.
To: None <current-users@sun-lamp.cs.berkeley.edu,>
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
List: netbsd-bugs
Date: 06/23/1994 09:55:34
I just discovered the following information:

The 

    VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

error is because two fields in the superblock don't match.
The following is from running fsck's setup.c:readsb() routine under a debugger:

sblock	(the "main" superblock) contains:

fs_maxsymlinklen = 0, fs_inodefmt = 0, 

while altsblock (the "alternate" one) contains:

fs_maxsymlinklen = 60, fs_inodefmt = 2, 

Does this ring any bells?  I would think that the primary superblock
would get updated first, and then the alternates..

I don't have time right now to figure out why the superblock doesn't
get written back correctly..  more later..

						- Bill


------------------------------------------------------------------------------