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

From: Pozsár Balázs
Date: Thu May 05 2005 - 10:55:12 EST


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.


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