Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 1997 20:25:18 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@FreeBSD.org, syssgm@dtir.qld.gov.au
Subject:   Re: disklabel -- owner?
Message-ID:  <199704241025.UAA13605@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>By my calculations there is room for 22 partition entries, plus spare change.

Strangely enough, NetBSD supports up to 22 partitions.

>So, it's easy to fit 16 entries in the label.  Make a new magic number to
>distinguish it from the old one, and voila!  Pick the same magic number as
>OpenBSD to set new heights of logic and cooperation.

A new magic number would be bogus, since the number of partitions is part
of the data and the checksum covers all the data.

>Not much code needs to know about the two types of disk labels.  Oh, and

There is only one type, but some code doesn't fully support it.

>the dkmakeminor() macro (and friends) will have to steal a bit from the
>unit number to give to the partition number.

2 bits.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704241025.UAA13605>