Re: May be a bug in fsck [ after super block crash on 5.4-STABLE ]

From: Xin LI <delphij_at_gmail.com>
Date: Sun, 6 Nov 2005 23:05:28 +0800
Hi, Yar,

On 11/6/05, Yar Tikhiy <yar_at_comp.chem.msu.su> wrote:
[snip]
> Isn't the type, UFS1 or UFS2, indicated by a magic number in the
> superblock itself?  I used to believe so.  If it's true, fsck cannot
> know the FS type prior to locating a superblock copy.  OTOH, with
> UFS2 having become popular, fsck might try both locations, 32 and 160.
> Care to file a PR?

That's correct.  Fortunately, given that we have some ways to validate
whether the superblock is valid, it is not too hard to automatically
detect which type the FS actually is.

Cheers,
Received on Sun Nov 06 2005 - 14:05:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC