[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS
Re: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff)
Sat, 3 Jul 2004 22:12:24 +0200
On Sun, Jul 04, 2004 at 12:45:00AM +1000, Andrew Clausen wrote:
> I was under the impression that 2.6 provides a mechanism for setting the
> HDIO_GETGEO thingy... so any program can tell Parted (and everything
> else, for that matter) what they want the geometry to be.
It is not a good idea to ask the user to tell the kernel so that the kernel
can tell parted. It is easier if one can tell parted directly.
> It contains this:
> echo "bios_cyl:C bios_head:H bios_sect:S" > /proc/ide/hda/settings
> Isn't the kernel the right place for this kind of communication to
> be happening, anyway?
No. This is stuff that is going away. It is a kludge that happens to work today.
Re: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff), Andrew Clausen, 2004/07/02