Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 06:29:48 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gpart on top of eli inside a slice is not working
Message-ID:  <20090326062604.X67075@maildrop.int.zabbadoz.net>
In-Reply-To: <FEA6DFB1-1E0A-4AF3-897C-6E1031BDA9B0@mac.com>
References:  <20090325214318.Q67075@maildrop.int.zabbadoz.net> <FEA6DFB1-1E0A-4AF3-897C-6E1031BDA9B0@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1880230994-1238048988=:67075
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Wed, 25 Mar 2009, Marcel Moolenaar wrote:

>
> On Mar 25, 2009, at 2:57 PM, Bjoern A. Zeeb wrote:
>
>> Here=B4s a script to reproduce this on head.
>
> First of all: exemplary problem reporting!
>
>> Any ideas?
>
> The probe method of the GPT scheme explicitly disallows nesting.
> This is inconsistent with the create method, which happily allows
> creating a GPT underneath a MBR.
>
> The bug is in the create method: GPT cannot be created inside a
> MBR slice (or any other partioning for that matter). I'll fix
> that shortly.

Well technically it is created inside some random garbage from eli and
not directly inside the MBR slice.

So the only possible solutions for those would be:
1) Somehow convert the entire disk to part and then exposing the 3
    freebsd-* partitions and have a dedicated eli inside each.
2) try (and stick with) bsdlabel on top of the eli inside the mbr
    slice?


So can you explain why there is the restriction that part cannot be
used inside a MBR slice or rather somewhere on top of such?


/bz

--=20
Bjoern A. Zeeb                      The greatest risk is not taking one.
--0-1880230994-1238048988=:67075--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090326062604.X67075>