From owner-freebsd-geom@FreeBSD.ORG Tue Nov 18 08:05:57 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 7EDC4106564A for ; Tue, 18 Nov 2008 08:05:57 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 39DFA8FC0A for ; Tue, 18 Nov 2008 08:05:57 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost ([127.0.0.1] helo=edge.pp.kiev.ua) by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1L2Las-0000cq-UL; Tue, 18 Nov 2008 10:05:54 +0200 Message-ID: <4922775D.6050701@icyb.net.ua> Date: Tue, 18 Nov 2008 10:05:49 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081005) MIME-Version: 1.0 To: Marcel Moolenaar References: <4919879E.5080900@icyb.net.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 08:05:57 -0000 on 18/11/2008 07:56 Marcel Moolenaar said the following: > > 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. > Thank you! -- Andriy Gapon