Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2003 10:15:48 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        freebsd-current@freebsd.org
Cc:        DougB@freebsd.org
Subject:   Re: Trashed a UFS2 file system from 4.8-Release
Message-ID:  <20030507101121.C699@leelou.in.tern>

next in thread | raw e-mail | index | archive | help
> So, the question is, if RELENG_4 fsck doesn't grok UFS2 file systems,
> why did it try to fsck it? Shouldn't it just give up when it realizes
> that it's not a UFS1 fs?

Probably because there once was a UFS1 fs on that partition. The UFS2
superblock is located further back, and when you newfs a UFS2 fs, the old
superblock doesn't get overwritten. See also bin/51619.

best regards,
le

--=20
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX-Systemadministrator               Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)       Fax.:  (+43 1) 4277-9140
der Universit=E4t Wien                   http://mailbox.univie.ac.at/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030507101121.C699>