From owner-freebsd-geom@FreeBSD.ORG Tue Nov 18 04:42:53 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 445821065670 for ; Tue, 18 Nov 2008 04:42:53 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 304258FC14 for ; Tue, 18 Nov 2008 04:42:53 +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 asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAI000OBIFGAQ60@asmtp020.mac.com> for freebsd-geom@freebsd.org; Mon, 17 Nov 2008 20:42:53 -0800 (PST) Message-id: From: Marcel Moolenaar To: Andriy Gapon In-reply-to: <4919879E.5080900@icyb.net.ua> Date: Mon, 17 Nov 2008 20:42:51 -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 04:42:53 -0000 [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... -- Marcel Moolenaar xcllnt@mac.com