Re: 2.4.x kernels, big ide disks and old bios

Andries.Brouwer@cwi.nl
Sun, 30 Dec 2001 02:47:30 GMT


> # cat /proc/ide/hdc/settings
> name value min max mode
> ---- ----- --- --- ----
> bios_cyl 119150 0 65535 rw
> bios_head 16 0 255 rw
> bios_sect 63 0 63 rw

> What's the meaning of the 65535 max limit in bios_cyl?

It is meaningless.

(Maybe there was some meaning long ago, for example because
HDIO_GETGEO only uses a 16-bit field for #cyls.
These days bios_cyl is not used anywhere. Not in the kernel,
not in user space. It is just some random number, computed
by taking disk-size / (heads*secs).)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/