HDIO_GETGEO vs. BLKGETSIZE
Andries Brouwer
aeb at veritas.com
Mon May 22 10:30:51 EDT 2000
On Mon, May 22, 2000 at 03:21:53PM +0100, David Woodhouse wrote:
> 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.
>
> > Instead, the number of cylinders is computed as BLKGETSIZE/(H*S).
> What if BLKGETSIZE/(H*S) isn't an integer?
/ is the C operator. It rounds down.
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list