Date: Mon, 17 Nov 2008 21:56:33 -0800 From: Marcel Moolenaar <xcllnt@mac.com> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-geom@freebsd.org Subject: Re: "unused" partition: disklabel vs. gpart Message-ID: <A5A7F45B-3874-4390-8EF6-46B5B7E27171@mac.com> In-Reply-To: <BA00E067-34D7-45A0-8882-B0FFB8AC7340@mac.com> References: <4919879E.5080900@icyb.net.ua> <BA00E067-34D7-45A0-8882-B0FFB8AC7340@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5A7F45B-3874-4390-8EF6-46B5B7E27171>