Re: ext2 trying to read last sector? [Re: Answer (Re: Cylinder limits jumper for drives over 32GB)]

From: H. Peter Anvin (hpa@transmeta.com)
Date: Thu Mar 30 2000 - 05:54:58 EST


Pavel Machek wrote:
>
> Hi!
>
> > > What happens? Currently booted linux sees partition table horribly
> > > wrong and refusing to mount partitions that span last 8Gig. Where is
> > > the FS destruction?
> >
> > You assume the worst and begin from there......
> > Since I have not done this yet......I started from the worst
> > possible view.
>
> Well, I'm not sure ext2 behaves like that (it should with -o check,
> which is now gone), but trying to read last sector of ext2 partition
> on mount and refusing mount if it fails is not too hard.
> Pavel

Doesn't ext2 go readonly if it tries to access an inaccessible block?

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:26 EST