HDIO_GETGEO vs. BLKGETSIZE
dwmw2 at infradead.org
Mon May 22 10:21:53 EDT 2000
aeb at veritas.com said:
> A modern fdisk will use the values for heads and sectors/track given
> by HDIO_GETGEO, but ignore the value for cylinders.
> Indeed, since cylinders is a 16-bit field and the number of cylinders
> can be larger than 65535, the value may be truncated, and is to be
> considered worthless.
> Instead, the number of cylinders is computed as BLKGETSIZE/(H*S).
What if BLKGETSIZE/(H*S) isn't an integer?
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd