Subject: Minor disklabel error (cylinder calcs)
To: None <current-users@NetBSD.ORG>
From: VaX#n8 <vax@ccwf.cc.utexas.edu>
List: current-users
Date: 10/28/1994 05:43:14
>From my disklabel output:
# size offset fstype [fsize bsize cpg]
...
b: 65536 307200 swap # (Cyl. 150 - 181)
c: 1687552 372736 unused 0 0 # (Cyl. 182 - 1005)
d: 2060288 0 unused 0 0 # (Cyl. 0 - 1005)
e: 327680 393216 4.2BSD 1024 8192 0 # (Cyl. 192 - 351)
f: 307168 32 MS-DOS # (Cyl. 0*- 149*)
...
Look at partition f.
As you can probably guess, 307168 + 32 = 307200, which ends on a cylinder
boundary - at the end of c149. It should not have an asterisk by it.
If I replace the 307168 with 307200, the asterisk disappears.
Of course, now "f" is hanging off into cylinder 150.
It appears that the calculation for cylinder endings does not properly
employ the offset.
--
Respond to vax@ccwf.cc.utexas.edu