From owner-freebsd-geom@FreeBSD.ORG Tue Nov 18 05:56:39 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 6B7421065673 for ; Tue, 18 Nov 2008 05:56:39 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 5633C8FC12 for ; Tue, 18 Nov 2008 05:56:39 +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 asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAI0002ILU9DB60@asmtp015.mac.com> for freebsd-geom@freebsd.org; Mon, 17 Nov 2008 21:56:39 -0800 (PST) Message-id: From: Marcel Moolenaar To: Andriy Gapon In-reply-to: Date: Mon, 17 Nov 2008 21:56:33 -0800 References: <4919879E.5080900@icyb.net.ua> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-geom@freebsd.org Subject: Re: "unused" partition: disklabel vs. 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 05:56:39 -0000 On Nov 17, 2008, at 8:42 PM, Marcel Moolenaar wrote: > [sorry for the delay] > > On Nov 11, 2008, at 5:24 AM, Andriy Gapon wrote: > >> E.g. I had a label with a single partition 'd' with type unused. I >> actually put ZFS pool into this partition, but marked it 'unused', so >> that some smart scripts on certain live cds do not try to mount or >> swappon the partitions. This worked OK with geom_bsd, but >> geom_part_bsd >> considered the slice entirely empty, it didn't find the 'd' >> partition in it. > > Hmmm... Let me think about this one. While I don't > like the ambiguity, if historically you could have > partitions of type FS_UNUSED (other than 'c') then > GPart should allow that too... I fixed GPart. Thanks for pointing it out. -- Marcel Moolenaar xcllnt@mac.com