On Fri, Dec 06, 2002 at 01:59:11PM +0100, Petr Holub wrote: > Hi, > > > While testing the 4.0 -> 5.0 upgrade path, I've created (under > > 5.0) a UFS1 partition and installed 4.0 onto it. After booting > > the 4.0 from it, kernel complained about ``numdirs is zero, try > > using an alternate superblock'' for / partition -- I've tried > > what it suggests (by fsck -b 32, etc.) but the result was always > > the same -- the file system was marked dirty and only read-only > > usable. After rebooting in 5.0, this file system was similarly > > unusable. Is this a bug or a feature? > > I've discussed this issue with Poul-Henning Kamp. You need fsck > from at least 4.7. > Is this handled by fsck/setup.c,v 1.17.2.4 commit?
: revision 1.17.2.4 : date: 2002/06/24 05:10:41; author: dillon; state: Exp; lines: +26 -56 : MFC 1.30. Check only the fields we know should be the same between the : primary and alternate superblocks, so fsck doesn't barf on new features : added to UFS in later releases. : : Submitted by: mckusick Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg48223/pgp00000.pgp
Description: PGP signature