From owner-freebsd-net@FreeBSD.ORG Wed Feb 19 16:34:31 2014 Return-Path: Delivered-To: freebsd-net@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 4787E651 for ; Wed, 19 Feb 2014 16:34:31 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D1EBA198C for ; Wed, 19 Feb 2014 16:34:30 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s1JGYQaL059801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 19 Feb 2014 09:34:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s1JGYOOB059798; Wed, 19 Feb 2014 09:34:26 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 19 Feb 2014 09:34:24 -0700 (MST) From: Warren Block To: lucian@lastdot.org Subject: Re: Where has my /dev/label gone? In-Reply-To: Message-ID: References: <20140219175643.0e744028@X220.alogt.com> <20140219201420.7d2f7e1c@X220.alogt.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 19 Feb 2014 09:34:26 -0700 (MST) Cc: freebsd-net@freebsd.org, Erich Dollansky X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 16:34:31 -0000 On Wed, 19 Feb 2014, lucian@lastdot.org wrote: > I have GEOM_LABEL loaded, but I noticed something strange. > If I boot in single user, I can create and see the labels under /dev/label, > however if I remount the / filesystem RW then /dev/label disappears. > BUT, if I just replace my / partition in fstab with the seemingly missing > label (eg /dev/label/rootfs) then the system boots up fine and /dev/label is > again available to `ls`. Strange stuff, it should be covered in the > handbook... > Problem solved, I guess. GEOM hides devices that are mounted. Most of them, or some of the time, or maybe only certain types, the rules are not clear.