From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 22:40:43 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1C1EFE for ; Mon, 2 Jun 2014 22:40:43 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB53B2CDA for ; Mon, 2 Jun 2014 22:40:43 +0000 (UTC) Received: from aurora.physics.berkeley.edu (aurora.Physics.Berkeley.EDU [128.32.117.67]) (authenticated bits=0) by c.mail.sonic.net (8.14.4/8.14.4) with ESMTP id s52MeQfE027079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 2 Jun 2014 15:40:26 -0700 Message-ID: <538CFD5A.5000502@freebsd.org> Date: Mon, 02 Jun 2014 15:40:26 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; 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> <538CFB70.5040406@freebsd.org> In-Reply-To: <538CFB70.5040406@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:40:43 -0000 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 >>> 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 >> >> _______________________________________________ >> 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. > 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