"unused" partition: disklabel vs. gpart

Marcel Moolenaar xcllnt at mac.com
Mon Nov 17 21:56:39 PST 2008


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 at mac.com





More information about the freebsd-geom mailing list