Date: Mon, 02 Jun 2014 19:13:18 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: diskid documentation Message-ID: <538D050E.9050406@freebsd.org> In-Reply-To: <538CFD5A.5000502@freebsd.org> References: <CAFMmRNyL=y14h6Ov0CDgXovt0zN9VuK93vYQL80Syab2CkkoPQ@mail.gmail.com> <538C9D45.6090109@pix.net> <538CFB70.5040406@freebsd.org> <538CFD5A.5000502@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MG7V00tn37sHExMp4N2RiGqdIMCbIreH0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-06-02 18:40, Nathan Whitehorn wrote: >=20 > On 06/02/14 15:32, Allan Jude wrote: >> On 2014-06-02 11:50, Kurt Lidl wrote: >>>> 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 s= ure >>>>> 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 labe= l >>>> 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=3D0 >>> >>> -Kurt >>> >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to >>> "freebsd-current-unsubscribe@freebsd.org" >> I have a patch for the installer that solves this issue by explicitly >> using /dev/adaXpY or adaXsYb etc >> >> I thought the label was a nice way to do it, but it backfired. >> >=20 > Oh, zfsboot uses labels? The UFS partition editor never has, mostly for= > this reason. Sorry for spreading misinformation -- I'm not really > familiar with the ZFS code. > -Nathan > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" It only used the labels for the fstab entry for swap. --=20 Allan Jude --MG7V00tn37sHExMp4N2RiGqdIMCbIreH0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTjQURAAoJEJrBFpNRJZKfqWoQAKNlkOK72YwjdVUSFAx8Msz/ 6+XwEW7woWbWO0ap7mYAz/98bpJ4NXXB7uwPplVPJ172DJcNtBLZgbvxNtquzlpM HskLcKTiYVL79SGpwA+Kw54AMadTbr5V7FT/nS3TPgXfGjc/Rd6SHjTUvnZIEe30 Zluz4RxuwYFxPBtUPuyRrQAvoY5R+K+3acwwQ84UrUJ3OQPE0pL+j+kMH/1WqItL Hn50ca8T5/kJ9UNthhBKiHEs3cm+opZOB2uPz9c69J9qFjfCtH9LiyLiNOhdhQzi mcnUTi5MikQxAFjmEXf9AqeuOZVad5FzanG4WvyLhBQZ2wBPoyCVD4sLsnejQNc9 EKqOkzPXw1W1xwDKc6DY9lugX+tHrUyW4rbfWwHdPTUsrm9hS7n9JiYwuKNfiDB8 i1ImgIDPqHgVzXVdF+RtW5lXekThp2Atrb7wzt1t/OYOw8qXZQ4wD18D5VkHOo/c tu3j3BcSzz+XXVnIN4DSvZCPZkIaWTebjcpEdq5+L0WG+z5FHdqrRDES8+gi4AcE WaKpjXPDeAbfK3wCm3F4QrRlQAdq2WuAxFjjV/Bxyi0iBJwXJjU58T6iCuTLjHLl FDsTNqgU7kX9h+wE7Yk8lATjkCrNufCGCZGf3GZksUSLf3l88fg3DIMjLfdfo6z3 BCuEI9XP5lakZebNxfiW =vCfm -----END PGP SIGNATURE----- --MG7V00tn37sHExMp4N2RiGqdIMCbIreH0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538D050E.9050406>