From owner-freebsd-current@FreeBSD.ORG Fri Mar 17 18:19:17 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 62FC416A532 for ; Fri, 17 Mar 2006 18:19:17 +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 E0CFD43D5F for ; Fri, 17 Mar 2006 18:19:16 +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 2A9D62086; Fri, 17 Mar 2006 19:19:11 +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 1C1AD20A4; Fri, 17 Mar 2006 19:19:11 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id 01A1933C31; Fri, 17 Mar 2006 19:19:10 +0100 (CET) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Dmitry Pryanishnikov References: <20060317012428.N52721@atlantis.atlantis.dp.ua> <863bhh3y05.fsf@xps.des.no> <20060317194142.C90888@atlantis.atlantis.dp.ua> Date: Fri, 17 Mar 2006 19:19:10 +0100 In-Reply-To: <20060317194142.C90888@atlantis.atlantis.dp.ua> (Dmitry Pryanishnikov's message of "Fri, 17 Mar 2006 20:12:11 +0200 (EET)") Message-ID: <86u09x2au9.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 18:19:17 -0000 Dmitry Pryanishnikov writes: > Dag-Erling Sm=F8rgrav writes: > > > 2) (most important) NetBSD disklabel describes partitions not > > > slice-relative (like ours), but the whole device-relative. > > 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. > I've never seen such a support in FreeBSD. There was pre-slice era, > and you can still create "dangerously dedicated" disk and use > ad0a-ad0h instead of ad0s1a-h. But NetBSD does something very > different: it creates disklabel at the start of the _slice_, but > media offsets in the entries of this label are not slice-relative > like ours, but absolute media offsets instead, and thus can point > _outside_ NetBSD slice! Their partitions can thus be aliases for our > slice devices. Yes. The offsets in our disklabels used to be device-relative too. It is still possible to create dangerously dedicated disks, btw, and it is still possible to put a disklabel (or even a filesystem) directly on a device. GEOM means *more* freedom, not less. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no