From owner-freebsd-geom@FreeBSD.ORG Sun Oct 19 21:40:54 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 D8950106567E for ; Sun, 19 Oct 2008 21:40:54 +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 C1B838FC39 for ; Sun, 19 Oct 2008 21:40:54 +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 [192.168.1.95] (209-128-86-226.bayarea.net [209.128.86.226]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K9000LTE9K5R760@asmtp019.mac.com> for freebsd-geom@freebsd.org; Sun, 19 Oct 2008 14:40:54 -0700 (PDT) Message-id: From: Marcel Moolenaar To: =?ISO-8859-1?Q?Marius_N=FCnnerich?= In-reply-to: Content-transfer-encoding: quoted-printable Date: Sun, 19 Oct 2008 14:40:53 -0700 References: <9e77bdb50810011331y7216eac3yf85907f96f5e8370@mail.gmail.com> <7353F23F-F944-47C9-A97D-6DE247F958AE@mac.com> X-Mailer: Apple Mail (2.929.2) Cc: Cyrus Rahman , 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: Sun, 19 Oct 2008 21:40:54 -0000 On Oct 19, 2008, at 2:14 PM, Marius N=FCnnerich wrote: > On Sun, Oct 19, 2008 at 10:18 PM, Marcel Moolenaar =20= > wrote: >> >> On Oct 19, 2008, at 10:24 AM, Marius N=FCnnerich wrote: >> >>>> Despite the intent of gpt's being to make such nesting =20 >>>> unnecessary, as >>>> a means of defining the structure of gmirrors, which take up the >>>> entire extent of whatever encloses them, the nesting was very =20 >>>> 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, =20 >>> 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. --=20 Marcel Moolenaar xcllnt@mac.com