Trashed a UFS2 file system from 4.8-Release

Lukas Ertl l.ertl at univie.ac.at
Wed May 7 01:15:58 PDT 2003


> 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

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


More information about the freebsd-current mailing list