bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: workaround for BIOS / CHS stuff


From: K . G .
Subject: Re: workaround for BIOS / CHS stuff
Date: Fri, 2 Jul 2004 15:08:38 +0200

On 02 Jul 2004 08:55:37 -0400
"Patrick J. LoPresti" <address@hidden> wrote:

> > >  - EDD: apparently some 2.6 kernels has the "right" info but at the same
> > >    time it seems quite inmature (interface was planned to be changed
> > >    lately, etc).
> > 
> > Agreed, it's something we should look at when it matures.
> 
> The interface is stable as of 2.6.7.  The fields are named
> /sys/firmware/edd/int13_dev80/{legacy_max_cylinder,legacy_max_head,legacy_sectors_per_track}.
> This is a 100% reliable way to determine the correct geometry to use.
> A backport to the 2.4 kernels is in progress.  The only problem is
> mapping between BIOS device numbers (dev80) and Linux devices...

So what, is this a truly 100% reliable way to get the geometry or
is there a mapping problem between BIOS and Linux devices ? I don't
understand how this can be reliable if you're not sure about the
device you're asking the geometry for ?

Cheers,
Guillaume.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]