From owner-freebsd-geom@FreeBSD.ORG Mon Jun 2 15:47:46 2014 Return-Path: Delivered-To: geom@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 13EF1E28; Mon, 2 Jun 2014 15:47:46 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B61C12471; Mon, 2 Jun 2014 15:47:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s52Flhlu009463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 2 Jun 2014 09:47:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s52FlhEQ009460; Mon, 2 Jun 2014 09:47:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 2 Jun 2014 09:47:43 -0600 (MDT) From: Warren Block To: "Michael W. Lucas" Subject: Re: diskid documentation In-Reply-To: <20140602153651.GB4116@bewilderbeast.blackhelicopters.org> Message-ID: References: <20140601134147.GA99583@bewilderbeast.blackhelicopters.org> <538C7B71.20109@freebsd.org> <20140602153651.GB4116@bewilderbeast.blackhelicopters.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 02 Jun 2014 09:47:44 -0600 (MDT) Cc: geom@freebsd.org, FreeBSD Current , Ryan Stone , Allan Jude X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 15:47:46 -0000 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 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.)