Re: RFC: disk geometry via sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Cox wrote:
On Mer, 2006-02-15 at 10:01 +0100, Seewer Philippe wrote:
This would mean dropping the HDIO_GETGEO ioctl completely and force
applications such as fdisk/sfdisk and even dosemu to determine disk
geometry for themselves. Which I think actually would be the most
correct approach.

In the IDE case the drive geometry has meaning in certain cases,
specifically the C/H/S drive addressing case with old old drives.

I thought that C/H/S addressing was purely a function of int 13, not the hardware interface? If it is a function of some older hardware interfaces, then we are still talking about two different, and likely incompatible geometries: the one the disk reports, and the one the bios reports. The values in the MBR must be the values the bios reports.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux