From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 21:50:40 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 97B00106568C for ; Mon, 2 Feb 2009 21:50:40 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 805C18FC0C for ; Mon, 2 Feb 2009 21:50:37 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Received: from mdenny-t60.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KEG008RBKNPOI00@asmtp019.mac.com> for current@freebsd.org; Mon, 02 Feb 2009 13:50:14 -0800 (PST) Message-id: <949A33EE-8F97-47A4-8D66-656CC502730C@mac.com> From: Marcel Moolenaar To: =?ISO-8859-1?Q?Jo=E3o_Barros?= In-reply-to: <70e8236f0902021323h5ceb50c8m58f32b655e8c57b5@mail.gmail.com> Content-transfer-encoding: quoted-printable Date: Mon, 02 Feb 2009 13:50:13 -0800 References: <49874922.5050309@andric.com> <70e8236f0902021323h5ceb50c8m58f32b655e8c57b5@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) Cc: Dimitry Andric , 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: Mon, 02 Feb 2009 21:50:41 -0000 On Feb 2, 2009, at 1:23 PM, Jo=E3o Barros wrote: > On Mon, Feb 2, 2009 at 7:27 PM, Dimitry Andric =20= > wrote: >> On 2009-02-02 20:16, Marcel Moolenaar wrote: >>> In case people are wondering: I'm working on proper support for >>> logical partitions. This should also allow us to create and >>> modify them. Of course when you add or remove a partition, the >>> index changes and consequently the device name. I still need >>> to find a good solution for that. Currently I'm thinking that >>> we should create the device special file that contains the >>> sector offset (which is the one constant) and create compatibility > > This approach assumes you'll only add/remove partitions, not move > and/or resize them. > Let's go big and assume all possibilities. Resizing is no problem but moving is, yes. With logical partitions you won't be able to move while the partition is mounted, something that you can support for other partitioning schemes. The question is: Is it acceptable to have limited support for moving logical partitions? I think it is. They're a kluge to begin with... --=20 Marcel Moolenaar xcllnt@mac.com