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

From: Wakko Warner
Date: Thu May 05 2005 - 15:55:28 EST


Alan Cox wrote:
> On Iau, 2005-05-05 at 17:33, Wakko Warner wrote:
> > Now, i have programs that I can't tell it the geometry (which it does use
> > and requires to be correct. My guesses using edd are correct). I was using
> > /proc/ide/hdX/settings to tell the kernel what geometry I want so the
> > programs that can only ask the kernel can get it right.
>
> And the geometry ioctls are obsolete for the applications too.

What is the right way for apps that need it to get it? Or is the kernel
just going to obsolete geometry entirely?

> > If the "right" way is via IOCTL, my scripts are written in perl that do the
> > bulk of the guess work.
>
> I suspect it is for other programs that are still using that geometry
> data and
> really mkdosfs is what needs fixing ?

mkdosfs definately needs fixing. I intend on filing a bug report about
this.

If I knew more about the dos format, I might not even have to do this.

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