Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2014 11:50:29 -0400
From:      Kurt Lidl <lidl@pix.net>
To:        freebsd-current@freebsd.org
Subject:   Re: diskid documentation
Message-ID:  <538C9D45.6090109@pix.net>
In-Reply-To: <CAFMmRNyL=y14h6Ov0CDgXovt0zN9VuK93vYQL80Syab2CkkoPQ@mail.gmail.com>
References:  <CAFMmRNyL=y14h6Ov0CDgXovt0zN9VuK93vYQL80Syab2CkkoPQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, Jun 2, 2014 at 9:26 AM, Allan Jude <allanjude at 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.

I have seen this too, starting from a fresh install.

The install process for stable/10 writes a /dev/gpt style label
into /etc/fstab for the swap space, and that never gets used,
because the /dev/diskid/xxxx stuff appears to take precedence.

I put the following into /boot/loader.conf to make the system more
sane:

kern.geom.label.disk_ident.enable=0

-Kurt




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