Messages in this thread | | | Subject | Re: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) | From | "Patrick J. LoPresti" <> | Date | 03 Jul 2004 09:59:38 -0400 |
| |
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/
| |