From owner-freebsd-geom@FreeBSD.ORG Wed Nov 5 17:39:45 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 2E56D106567F for ; Wed, 5 Nov 2008 17:39:45 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 172278FC14 for ; Wed, 5 Nov 2008 17:39:44 +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 macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K9V00MBVFQ8FG30@asmtp018.mac.com> for freebsd-geom@freebsd.org; Wed, 05 Nov 2008 09:39:44 -0800 (PST) Message-id: <0A1A5002-A643-4738-B775-5E450C02486A@mac.com> From: Marcel Moolenaar To: vadim_nuclight@mail.ru In-reply-to: Date: Wed, 05 Nov 2008 09:39:43 -0800 References: <9e77bdb50810011331y7216eac3yf85907f96f5e8370@mail.gmail.com> <7353F23F-F944-47C9-A97D-6DE247F958AE@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: Wed, 05 Nov 2008 17:39:45 -0000 On Nov 5, 2008, at 4:17 AM, Vadim Goncharov wrote: > Hi Marcel Moolenaar! > > On Sun, 19 Oct 2008 14:40:53 -0700; Marcel Moolenaar wrote about > 'Re: Experiences with Gpart': > >>>>>> Despite the intent of gpt's being to make such nesting >>>>>> unnecessary, as >>>>>> a means of defining the structure of gmirrors, which take up the >>>>>> entire extent of whatever encloses them, the nesting was very >>>>>> helpful. >>>>> >>>>> Maybe nesting simply works if you comment the first if in >>>>> g_part_gpt_probe() in >>>>> sys/geom/part/g_part_gpt.c ? I don't get why this is restricted, >>>>> should be >>>>> my >>>>> decision to nest or not imo. >>>> >>>> Nesting is not allowed as per the GPT specification. >>> >>> OK. It doesn't make much sense for slices too, but is still allowed. >> A nested MBR provides for backward compatibility by >> presenting a GPT partition as a drive to those legacy >> OSes or tools. I don't think it was needed, but it >> was envisioned that way, AFAICT. It makes sense in a >> weird way. > > 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. -- Marcel Moolenaar xcllnt@mac.com