In current implementation, a geometry is defined by one long
integer, and it is also used for the flags of BIOS
extensions. However, 32bits is too small for large disks because the
number of the cylinders may be more than 2^12 (For example, my HDD has
8944 cylinders). In addition, setting the flags of BIOS features to a
geometry variable is tricky, I think.
So, I propose to use a structure for a geometry. Here is an example:
struct geometry
{
unsigned long cylinders;
unsigned long heads;
unsigned long sectors;
unsigned long flags;
};
Any comment?
Thanks,
OKUJI
----------------------------------------------------------------------
OKUJI Yoshinori <[EMAIL PROTECTED]> ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English) m /