Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2008 20:21:29 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        vadim_nuclight@mail.ru
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Experiences with Gpart
Message-ID:  <E3F878A7-AD25-4D98-BD35-94A60320BB8F@mac.com>
In-Reply-To: <slrnghg7ni.omk.vadim_nuclight@server.filona.x88.info>
References:  <9e77bdb50810011331y7216eac3yf85907f96f5e8370@mail.gmail.com> <b649e5e0810191024s794445fdke8f2aac31a5617c@mail.gmail.com> <7353F23F-F944-47C9-A97D-6DE247F958AE@mac.com> <b649e5e0810191414i66c9d881x2314e66fec088f97@mail.gmail.com> <D7E43903-CD8D-4B83-92EF-A0BB1E2C155A@mac.com> <slrngh33m7.1o13.vadim_nuclight@server.filona.x88.info> <0A1A5002-A643-4738-B775-5E450C02486A@mac.com> <slrnghg7ni.omk.vadim_nuclight@server.filona.x88.info>

next in thread | previous in thread | raw e-mail | index | archive | help
[sorry for the delay]

On Nov 10, 2008, at 3:45 AM, Vadim Goncharov wrote:

>>> But, allowing for configuring partitioning as user wants (and
>>> complex nesting,
>>> if one wish) was always strong benefit of the GEOM. So why not? It
>>> is allowed
>>> author of this thread to manage mirrors the way he wants, not the
>>> way somebody
>>> enforces. Unix is tools, not policy (c)
>>
>> Gratuitous non-compliance in the name of freedom is
>> not the Unix-way of things.
>
> Unix always had at least knob allow_me_to_shoot_in_the_foot, if now  
> allowed
> this directly. So what alternative do you propose to group  
> partitions together
> or to split GPT partitions? bsdlabel? But that is limited to 26  
> partitions
> and 2^32 sectors.

FreeBSD allowed nested GPTs before and I didn't change
this in GPart. Put differently: I didn't add special
code to disallow it. By way of how GEOM works, FreeBSD
will support it by default:

# mdconfig -a -t malloc -s 128m
md0
# gpart create -s gpt md0
md0 created
# gpart add -b 34 -s 131038 -t freebsd md0
md0s1 added
# gpart add -b 131072 -s 131038 -t freebsd md0
md0s2 added
# gpart create -s gpt md0s1
md0s1 created
# gpart create -s gpt md0s2
md0s2 created
# gpart show | grep GPT
=>    34  262077  md0  GPT  (128M)
=>    34  130971  md0s1  GPT  (64M)
=>    34  130971  md0s2  GPT  (64M)

FYI,

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E3F878A7-AD25-4D98-BD35-94A60320BB8F>