Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2014 09:47:43 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>
Cc:        geom@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>, Ryan Stone <rysto32@gmail.com>, Allan Jude <allanjude@freebsd.org>
Subject:   Re: diskid documentation
Message-ID:  <alpine.BSF.2.00.1406020941460.9363@wonkity.com>
In-Reply-To: <20140602153651.GB4116@bewilderbeast.blackhelicopters.org>
References:  <20140601134147.GA99583@bewilderbeast.blackhelicopters.org> <538C7B71.20109@freebsd.org> <CAFMmRNyL=y14h6Ov0CDgXovt0zN9VuK93vYQL80Syab2CkkoPQ@mail.gmail.com> <20140602153651.GB4116@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Jun 2014, Michael W. Lucas wrote:

> On Mon, Jun 02, 2014 at 10:45:52AM -0400, Ryan Stone wrote:
>> On Mon, Jun 2, 2014 at 9:26 AM, Allan Jude <allanjude@freebsd.org> wrote:
>>> It also tends to sometimes hide the gpt label provider on me (not sure
>>> in which cases it does this, but it is annoying)
>>
>> This happens when something (e.g. zfs) happens to open the diskid
>> provider instead of the gpt label.  For me this ended up being a bit
>> more than annoying; my swap was mounted in /etc/fstab via a gpt label
>> so I silently lost my swap when I did an upgrade.
>
> Wait-- one type of one label can hide another?
>
> I thought a big point of labels was to remove ambiguity...

Can't get more unambiguous than only having one label!

The word to look for here is "wither".  When a device label name is 
opened exclusively (like mounting a device), other labels for that 
device are supposed to "wither" and disappear from view.

(My understanding of this is incomplete.  Garrett Wollman sent me a very 
nice explanation of how this works, which I have read but not enough 
times yet.)



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