Experiences with Gpart

Marcel Moolenaar xcllnt at mac.com
Sun Oct 19 21:40:54 UTC 2008


On Oct 19, 2008, at 2:14 PM, Marius Nünnerich wrote:

> On Sun, Oct 19, 2008 at 10:18 PM, Marcel Moolenaar <xcllnt at mac.com>  
> wrote:
>>
>> On Oct 19, 2008, at 10:24 AM, Marius Nünnerich wrote:
>>
>>>> Despite the intent of gpt's being to make such nesting  
>>>> unnecessary, as
>>>> a means of defining the structure of gmirrors, which take up the
>>>> entire extent of whatever encloses them, the nesting was very  
>>>> helpful.
>>>
>>> Maybe nesting simply works if you comment the first if in
>>> g_part_gpt_probe() in
>>> sys/geom/part/g_part_gpt.c ? I don't get why this is restricted,  
>>> should be
>>> my
>>> decision to nest or not imo.
>>
>> Nesting is not allowed as per the GPT specification.
>
> OK. It doesn't make much sense for slices too, but is still allowed.

A nested MBR provides for backward compatibility by
presenting a GPT partition as a drive to those legacy
OSes or tools. I don't think it was needed, but it
was envisioned that way, AFAICT. It makes sense in a
weird way.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-geom mailing list