From owner-freebsd-hackers Thu Apr 24 03:27:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA29028 for hackers-outgoing; Thu, 24 Apr 1997 03:27:16 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA29023 for ; Thu, 24 Apr 1997 03:27:11 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id UAA13605; Thu, 24 Apr 1997 20:25:18 +1000 Date: Thu, 24 Apr 1997 20:25:18 +1000 From: Bruce Evans Message-Id: <199704241025.UAA13605@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.org, syssgm@dtir.qld.gov.au Subject: Re: disklabel -- owner? Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >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