From owner-freebsd-current@FreeBSD.ORG Fri Mar 17 15:13:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 076A416A400 for ; Fri, 17 Mar 2006 15:13:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8928243D48 for ; Fri, 17 Mar 2006 15:13:36 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 11917208E; Fri, 17 Mar 2006 16:13:31 +0100 (CET) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -2.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 0421E2086; Fri, 17 Mar 2006 16:13:31 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id CCC3D33C31; Fri, 17 Mar 2006 16:13:30 +0100 (CET) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Dmitry Pryanishnikov References: <20060317012428.N52721@atlantis.atlantis.dp.ua> Date: Fri, 17 Mar 2006 16:13:30 +0100 In-Reply-To: <20060317012428.N52721@atlantis.atlantis.dp.ua> (Dmitry Pryanishnikov's message of "Fri, 17 Mar 2006 02:34:54 +0200 (EET)") Message-ID: <863bhh3y05.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: [patch] NetBSD disklabel support for geom_bsd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 15:13:37 -0000 Dmitry Pryanishnikov writes: > 1) NetBSD people extended partition table to 16 entries vs. our 8. That's= OK, > we have place for 22 entries within 512-byte sector for disklabel offs= et 0, > and 18 for offset 64 bytes (Alpha's case). > > 2) (most important) NetBSD disklabel describes partitions not slice-relat= ive > (like ours), but the whole device-relative. They have no slice devices= , so > their disklabel actually duplicates functionality of device slice > table, and describes both NetBSD partitions and other slices as partit= ions. I believe we already support that - we did it the same way ourselves prior to GEOM, and geom_bsd should still have compat shims for old labels. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no