Re: /proc/ide/hd?/settings obsolete in 2.6.

From: Wakko Warner
Date: Thu May 05 2005 - 10:36:42 EST


Bartlomiej Zolnierkiewicz wrote:
> On 5/5/05, Wakko Warner <wakko@xxxxxxxxxxxx> wrote:
> > If there is no "non-obsolete" way of doing this, then fine, I'll continue
> > with the settings thing.
>
> Please be aware that new applications are expected to use
> /sys/firmware/edd/default_* instead of legacy HDIO_GETGEO ioctl
> and there is currently no way to set these sysfs entries (maybe it
> would be worthwile to add such functionality?).

I am using edd to retrieve these parameters. Unfortunately there are some
utils that I use that I cannot give it the geometry. Those utils depend on
having the proper geometry so that the system can boot properly (no, it's
not booting linux).

I need to work around what I can't fix otherwise. So far, the proc entry is
the only solution I have seen.

--
Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/