"unused" partition: disklabel vs. gpart

Andriy Gapon avg at icyb.net.ua
Tue Nov 18 00:05:57 PST 2008

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

More information about the freebsd-geom mailing list