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
..
1996-04-09 11:31:34 +00:00
1996-09-28 22:46:35 +00:00
1996-09-20 04:56:09 +00:00
1996-09-20 04:56:09 +00:00
1996-09-05 17:16:10 +00:00
1996-09-20 04:24:31 +00:00
1996-09-20 04:24:31 +00:00
1996-08-23 20:36:11 +00:00
1996-09-20 04:33:57 +00:00
1996-09-23 22:24:39 +00:00
1995-05-30 06:12:45 +00:00