From owner-freebsd-geom@FreeBSD.ORG Tue Nov 18 04:21:31 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CB5F106564A for ; Tue, 18 Nov 2008 04:21:31 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id 633898FC0A for ; Tue, 18 Nov 2008 04:21:31 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.95] (209-128-86-226.BAYAREA.NET [209.128.86.226]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAI00AT5HFUTG90@asmtp016.mac.com> for freebsd-geom@freebsd.org; Mon, 17 Nov 2008 20:21:31 -0800 (PST) Message-id: From: Marcel Moolenaar To: vadim_nuclight@mail.ru In-reply-to: Date: Mon, 17 Nov 2008 20:21:29 -0800 References: <9e77bdb50810011331y7216eac3yf85907f96f5e8370@mail.gmail.com> <7353F23F-F944-47C9-A97D-6DE247F958AE@mac.com> <0A1A5002-A643-4738-B775-5E450C02486A@mac.com> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-geom@freebsd.org Subject: Re: Experiences with Gpart X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 04:21:31 -0000 [sorry for the delay] On Nov 10, 2008, at 3:45 AM, Vadim Goncharov wrote: >>> But, allowing for configuring partitioning as user wants (and >>> complex nesting, >>> if one wish) was always strong benefit of the GEOM. So why not? It >>> is allowed >>> author of this thread to manage mirrors the way he wants, not the >>> way somebody >>> enforces. Unix is tools, not policy (c) >> >> Gratuitous non-compliance in the name of freedom is >> not the Unix-way of things. > > Unix always had at least knob allow_me_to_shoot_in_the_foot, if now > allowed > this directly. So what alternative do you propose to group > partitions together > or to split GPT partitions? bsdlabel? But that is limited to 26 > partitions > and 2^32 sectors. FreeBSD allowed nested GPTs before and I didn't change this in GPart. Put differently: I didn't add special code to disallow it. By way of how GEOM works, FreeBSD will support it by default: # mdconfig -a -t malloc -s 128m md0 # gpart create -s gpt md0 md0 created # gpart add -b 34 -s 131038 -t freebsd md0 md0s1 added # gpart add -b 131072 -s 131038 -t freebsd md0 md0s2 added # gpart create -s gpt md0s1 md0s1 created # gpart create -s gpt md0s2 md0s2 created # gpart show | grep GPT => 34 262077 md0 GPT (128M) => 34 130971 md0s1 GPT (64M) => 34 130971 md0s2 GPT (64M) FYI, -- Marcel Moolenaar xcllnt@mac.com