lkml.org 
[lkml]   [2004]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff)
    From
    Date
    Andries Brouwer <Andries.Brouwer@cwi.nl> writes:

    > (ii) Various people talk about moving disks between machines.
    > Such people have not understood the main fact here:
    > the geometry is not a property of the disk but of the BIOS.

    Um... Yes, right, exactly, very good. So you *must* obtain the
    geometry from the BIOS and not from anything you happen to find on the
    disk. Which is sort of my entire point.

    > It is futile to hope for a construction that will work across
    > different machines with different BIOSes.

    Simply false. "modprobe edd.o" followed by an examination of the
    fields under /sys/firmware/edd will give you precisely the right
    values.

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

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.023 / U:148.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site