lkml.org 
[lkml]   [2004]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff)
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.

Andries

-
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.506 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site