frantisek holop writes: > so what's up with these dick measurements? I think you got that part just right :-)
Expecthing cyl * head * sec/cyl to come up with the number of actual sectors on the disk is your problem. Modern disk don't have a fixed number of sec/track. They use Zone Bit Recording which uses a different number of sec/track depending upon the location of the track on the disk. The code tries to come up with an approximate CHS for historical reasons. It would probably be best if it just reported the number of sectors as that is the only important measure. // marc