NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: question about paritions/disklabel



On Mon, Feb 18, 2013 at 9:13 AM, Martin Husemann <martin%duskware.de@localhost> 
wrote:
> On Mon, Feb 18, 2013 at 08:38:22AM +0100, Luca Ferrari wrote:
>> 16 partitions:
>
> This is the maximum number of partitions that this disklabel could have.
> The number varies between arches (and NetBSD versions).


Yes, but what is strange to me is that in this case the number refers
to the upper limit of the available partitions )16), while in the
following case:

7 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c:   4194241        63     unused      0     0        # (Cyl.      0*-   4161*)
 d:   4194304         0     unused      0     0        # (Cyl.      0 -   4161*)
 e:   1400000        63     4.2BSD      0     0     0  # (Cyl.      0*-   1388*)
 f:   1400000   1400063     4.2BSD      0     0     0  # (Cyl.   1388*-   2777*)
 g:   1000000   2800063     4.2BSD      0     0     0  # (Cyl.   2777*-   3769*)


the number seems to be the max number of partitions that can be
configured so far, that is up to 7 can be configured with this label
(a-g).
So it seems to me the "partitions" number shown by disklabel has two
different meaning. Am I wrong?

Luca


Home | Main Index | Thread Index | Old Index