Re: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround forBIOS / CHS stuff)

From: Szakacsits Szabolcs
Date: Fri Jul 02 2004 - 19:18:17 EST



On 2 Jul 2004, Patrick J. LoPresti wrote:

> You will find that the default_* files (i.e., the geometry from the
> extended INT13 interface) match the values returned by HDIO_GETGEO.

If my memory serves well, you wrote once long ago that your project needs
the "legacy" value to make things work.

Kernel 2.4 guessed usually legacy, right?

Kernel 2.6 returns extended and it more upsets tools and users with
trashed partitions.

So a simple question: why is returning the extended values better than
returning always the legacy values (or even the previous guess)?

I _do_ know that that won't be perfect either but perhaps it weren't so
broken as it is now.

BTW, so far nobody answered what the technical benefit returning the
extended values instead of the legacy ones or the previous guess.
We only know the current values hurt more and there are only better
alternatives, right?

Szaka

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