Subject: Re: NetBSD2.0/sparc not ready for prime time?
To: None <port-sparc@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 02/12/2005 11:47:44
> The sun disklabel splits the disk up on cylinder boundaries, so any
> partial cylinder at the end of the disk cannot be used.
This is actually not true. Sun disklabels store partition start points
as cylinder[%] numbers, so a partition not beginning on a cylinder
boundary cannot be represented. But they store sizes as *sector*
counts; there is nothing preventing a partition from starting on a
cylinder boundary and extending to include a partial cylinder at the
end of the disk (or elsewhere, for that amtter). Indeed, I routinely
do include a trailing partial cylinder in my Sun labels. (I also
usually set nhead=32 and nsect=64, giving me 1MB cylinders, since on
modern disks the reasons for the label knowing the geometry are mostly
inapplicable anyway.)
[%] Where "cylinder" is defined according to the sect/track and
track/cyl values in the label, which may or may not match any part
of the real disk.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B