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

From: Wakko Warner
Date: Thu May 05 2005 - 11:26:28 EST


Pozs?r Bal?zs wrote:
> On Thu, May 05, 2005 at 11:33:27AM -0400, Wakko Warner wrote:
> > 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.
>
> If those utils just open and read some files under /proc, you could
> always overmount those files or use some LD_PRELOAD magic.

No no, I'm using /proc to set the right geometry. The programs use
HDGETGEO.

--
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/