diff options
author | bde <bde@FreeBSD.org> | 1996-10-13 18:18:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-13 18:18:50 +0000 |
commit | f35890901a4ab4f3504147eecc4f8e1e8343dd12 (patch) | |
tree | f230e334eed9814485ffff75d9f771085d5586f3 /lib/libmytinfo/bin_order | |
parent | c4eeb055c16b0d23129bdef9a0d9d2f8abdb8c75 (diff) | |
download | FreeBSD-src-f35890901a4ab4f3504147eecc4f8e1e8343dd12.zip FreeBSD-src-f35890901a4ab4f3504147eecc4f8e1e8343dd12.tar.gz |
The dos() function needs a new second argument, containing the size
of the partition. Only if the size is 0 should the
special handling of 0 as first argument be triggered.
[This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.]
The init_sector0 function needs to decrease the first argument
to the second call to dos() by one to be consistent with the
calls to dos() in change_part().
[This bug caused fdisk -i to create bogus partition tables with
the ending C/H/S value 1 too high. This usually gives S = 1
instead of S = maximum, so the geometry guessing in the slice
code and perhaps in SCSI BIOSes was defeated.]
Submitted by: Tor Egge <tegge@itea.ntnu.no>
Diffstat (limited to 'lib/libmytinfo/bin_order')
0 files changed, 0 insertions, 0 deletions