From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 22:32:16 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85D89CCD for ; Mon, 2 Jun 2014 22:32:16 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5E9B62C1F for ; Mon, 2 Jun 2014 22:32:15 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id DECC87C23A for ; Mon, 2 Jun 2014 22:32:14 +0000 (UTC) Message-ID: <538CFB70.5040406@freebsd.org> Date: Mon, 02 Jun 2014 18:32:16 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: diskid documentation References: <538C9D45.6090109@pix.net> In-Reply-To: <538C9D45.6090109@pix.net> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p9l3Br6DW45SIO3OnxItVjBbhL2T2FAHV" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 22:32:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p9l3Br6DW45SIO3OnxItVjBbhL2T2FAHV Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-06-02 11:50, Kurt Lidl wrote: >> On Mon, Jun 2, 2014 at 9:26 AM, Allan Jude >> wrote: >>> It also tends to sometimes hide the gpt label provider on me (not sur= e >>> 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. >=20 > I have seen this too, starting from a fresh install. >=20 > 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. >=20 > I put the following into /boot/loader.conf to make the system more > sane: >=20 > kern.geom.label.disk_ident.enable=3D0 >=20 > -Kurt >=20 > _______________________________________________ > 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" 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 Allan Jude --p9l3Br6DW45SIO3OnxItVjBbhL2T2FAHV 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/ iQIcBAEBAgAGBQJTjPtwAAoJEJrBFpNRJZKfpAQP/3fie7/pz5FJ55sGfzbqTV10 1MNMoi/rpwhY2NGnppLV4vLH3LcmUEFQtJ0wXjpgR+75IGmQqIA/Cneakg5MRPSp 26VhRbt+KK6Oa3l4xix9vmRaw+eZVBIIDwirGnnBlosFcYTbjXfEEhzLpGm/Vp9k bP2R2IFuFwnqL8ECtV8lNoBjGhHiMu3gCVhV6XW0DOYnDCjVQScgMLQPUUuSIvcC +lp+cD5MndCVoFJCyGATiQC6DiG+B8cUXWRkLZjFecz/QT8NJSKhznUwkIWUnOBo 4zOla5t7A+ZIk/tBHuEFydhnU9gkkv4372h9vn1dVkO4QSzE+uLKelZSe78yzwY2 lpLlU9+w7zy8iALKPYTniix4Qzn8EAR49bh6lKtJeqT87yUiZqfKsiu4zohoJMiw SyB3ZfoYqVgbYlGncHnZGIvIcl1x2B3RM4Qhk9nAolrkB8E3Nq9GsWnD0hgLDZzl k3dqzCBt63gJyf2g2xTE2qw6g3PtQ9+ED+vNejuF1cArNxzUiJA9lbk8WX+mXRZa zEqKuzkJave1klmfviacqj+zuwyazESmwLRkq7ynwqBn7pIIjS7WBN0SJiZEhIL7 2jic6n13MJNCTwpGH+S5MXm8aDgRIZcqXKRJxhi64CXi6p4XfzNG9XPpxvEyioz8 f261+kc/7t49yBm15RQQ =Lh71 -----END PGP SIGNATURE----- --p9l3Br6DW45SIO3OnxItVjBbhL2T2FAHV--