Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 14:01:41 +0200
From:      "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" <marius@nuenneri.ch>
To:        "Ivan Voras" <ivoras@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: [PATCH] Teach geom_label to recognise gpt labels and uuids
Message-ID:  <b649e5e0810230501g2b2e8ee0iaa66388ed767e69c@mail.gmail.com>
In-Reply-To: <gdpnsf$8s2$1@ger.gmane.org>
References:  <b649e5e0810230412u5a80ddb8p3955d5b052fa1896@mail.gmail.com> <gdpnsf$8s2$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 23, 2008 at 1:41 PM, Ivan Voras <ivoras@freebsd.org> wrote:
> Marius N=FCnnerich wrote:
>> Hi all,
>>
>> I wrote the following patch for geom_label:
>> http://nuenneri.ch/freebsd/geom_label.patch
>>
>> What do you think about it? I would love to hear about some tests.
>
> Do you think it's wise to have two separate directories: /dev/gpt and
> /dev/gpt_uuid? I don't think anyone will mistake the UUID from the label
> if it's in the same directory. Also, if I remember correctly how GPT
> works, UUID is always present but the label is optional?

The label can only be 18 characters long and a uuid is always longer
than that, so that shouldn't be a problem. Actually it's just an
implementation detail because I couldn't add two /dev entries in one
taste. I will think about how I could create both entries in one
directory (if the label is set).



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