freebsd-dev/sbin/fdisk
Bruce Evans e29754402a 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>
1996-10-13 18:18:50 +00:00
..
fdisk.8 Fix even more spelling errors in some more man pages. 1996-01-30 16:34:52 +00:00
fdisk.c The dos() function needs a new second argument, containing the size 1996-10-13 18:18:50 +00:00
Makefile Remove trailing whitespace. 1995-05-30 06:12:45 +00:00