From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 12:22:56 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88F57106564A for ; Tue, 3 Feb 2009 12:22:56 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 237D38FC08 for ; Tue, 3 Feb 2009 12:22:55 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: by fg-out-1718.google.com with SMTP id l26so751321fgb.35 for ; Tue, 03 Feb 2009 04:22:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.86.80.5 with SMTP id d5mr2824342fgb.39.1233662247087; Tue, 03 Feb 2009 03:57:27 -0800 (PST) In-Reply-To: <20090203082153.565746e2@zelda.local> References: <20090203082153.565746e2@zelda.local> Date: Tue, 3 Feb 2009 12:57:27 +0100 Message-ID: From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= To: Martin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , FreeBSD Current Subject: Re: GEOM_PART: a quick update on logical partitions 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: Tue, 03 Feb 2009 12:22:56 -0000 On Tue, Feb 3, 2009 at 8:21 AM, Martin wrote: > Am Mon, 02 Feb 2009 11:16:53 -0800 > schrieb Marcel Moolenaar : > >> /dev/da0s2.00000000 >> /dev/da0s2.0834F7A0 >> /dev/da0s5 -> /dev/da0s2.00000000 >> /dev/da0s6 -> /dev/da0s2.0834F7A0 > > Hi. > > As far as I remember, the old MS-DOS scheme for partitioning > (we have GPT now ;) that I am happy with) implements these logical > partitions as a linked list. Why not have a simple index pointing to > the list entry? > > Something like this: > > /dev/da0s2.1 > /dev/da0s2.2 > > Might be starting with 1 or perhaps 0. > > > Second thing is, why do you need something like "s5"? I don't like > these symlinks, because I don't see how you want to support something > like ".eli" oder ".eli.journal" etc. I'm not happy with the symlinks either. When someone is manipulating a partition table she should be able to live with the consequences. I would rather go for the UUID in UFS header approach if there is enough room. BTW I implemented GPT UUID glabels a while ago please see: http://www.freebsd.org/cgi/query-pr.cgi?pr=128398