From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 18:15:55 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 147691065674 for ; Tue, 3 Feb 2009 18:15:55 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.freebsd.org (Postfix) with ESMTP id 00FDB8FC19 for ; Tue, 3 Feb 2009 18:15:54 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from ubuntu.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KEI00ND85EF3250@asmtp012.mac.com> for current@freebsd.org; Tue, 03 Feb 2009 10:15:52 -0800 (PST) Message-id: From: Marcel Moolenaar To: Martin In-reply-to: <20090203082153.565746e2@zelda.local> Date: Tue, 03 Feb 2009 10:15:50 -0800 References: <20090203082153.565746e2@zelda.local> X-Mailer: Apple Mail (2.930.3) Cc: 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 18:15:55 -0000 On Feb 2, 2009, at 11:21 PM, 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. What happens if you add a partition to the head of the list? > Second thing is, why do you need something like "s5"? That's the how logical partitions are named in 7.x -- Marcel Moolenaar xcllnt@mac.com