Subject: disklabel: final Cyl for partition d
To: None <netbsd-help@NetBSD.org>
From: Henry Nelson <netb@yuba.ne.jp>
List: netbsd-help
Date: 11/20/2006 13:04:26
I've been looking at a LOT of examples of partition tables.  I notice
that there is some discrepancy on what the final cylinder is on the d
partition:

cylinders: 3148
d:  3173184        0     unused       0     0        # (Cyl.    0 - 3147)

or

cylinders: 484406
d: 488281250       0     unused       0     0        # (Cyl.      0 - 484406*)

My understanding would be that since you are counting from "0" to the end,
the final cylinder would be [total cylinders - 1].  However, that asterisk
perhaps modifies the meaning?

Related to this question, when annotating adjacent partitions, I would
think that the beginning of the next partition would be 1 plus the
final cylinder of the previous partition.  However, I often see, e.g.:
 e:   1311660   1230453     4.2BSD   1024  8192 43728  # (Cyl.   1302*-   2690*)
 f:     98280   2542113     4.2BSD   1024  8192 16424  # (Cyl.   2690*-   2794*)

Again, the asterisks define some point between a cylinder boundary??

-- 
henry nelson
  WWW_HOME=http://yuba(dot)ne(dot)jp/(tilde)home/