From owner-freebsd-geom@FreeBSD.ORG Fri Jun 10 15:25:54 2011 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 CD04C106567C; Fri, 10 Jun 2011 15:25:54 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA5F8FC0C; Fri, 10 Jun 2011 15:25:54 +0000 (UTC) Received: from dhcp-192-168-2-22.wifi.xcllnt.net (atm.xcllnt.net [70.36.220.6]) (authenticated bits=0) by mail.xcllnt.net (8.14.4/8.14.4) with ESMTP id p5AFPmfP068632 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 10 Jun 2011 08:25:53 -0700 (PDT) (envelope-from marcel@xcllnt.net) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Marcel Moolenaar In-Reply-To: <20110610054413.GD2433@garage.freebsd.pl> Date: Fri, 10 Jun 2011 08:25:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201106100405.p5A45n4e050124@freefall.freebsd.org> <20110610054413.GD2433@garage.freebsd.pl> To: Pawel Jakub Dawidek X-Mailer: Apple Mail (2.1084) Cc: marcel@FreeBSD.org, rsimmons0@gmail.com, freebsd-geom@FreeBSD.org Subject: Re: bin/157721: gpart(8) unable to create GPT partitions inside of providers created by geli 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: Fri, 10 Jun 2011 15:25:54 -0000 On Jun 9, 2011, at 10:44 PM, Pawel Jakub Dawidek wrote: > On Fri, Jun 10, 2011 at 04:05:49AM +0000, marcel@FreeBSD.org wrote: >> Synopsis: gpart(8) unable to create GPT partitions inside of = providers created by geli >>=20 >> State-Changed-From-To: open->closed >> State-Changed-By: marcel >> State-Changed-When: Fri Jun 10 04:04:50 UTC 2011 >> State-Changed-Why:=20 >> GPT does not nest. You cannot create a GPT table within a partition. >=20 > Such indirect nesting should work. Doing 'gpart init -s GPT ada0p1' = may > not work, but ada0p1.eli is not GPART provider. Maybe it such cases it > should be allowed? I don't think you want to allow gpart<-geom<-part when you don't allow gpart<-gpart. The addition of a random geom, in between gpart does not change the fact that you're nesting. You allow nesting, or you dont. > BTW. Why GPT does not nest? It's outside the spec. and unless we have a UUID for the partition used for nesting it's invalid. Policy prevents it. --=20 Marcel Moolenaar marcel@xcllnt.net