From owner-freebsd-net@FreeBSD.ORG Wed Feb 19 14:26:53 2014 Return-Path: Delivered-To: freebsd-net@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 EA1085ED for ; Wed, 19 Feb 2014 14:26:53 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 711621B81 for ; Wed, 19 Feb 2014 14:26:53 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id l4so332413lbv.24 for ; Wed, 19 Feb 2014 06:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sm9DPHwRD91lW+F9hIuj0nLUYF84MlL0qQ8PgNXHq4g=; b=O3JXIenXfzulvjJtCM6kCfTVsgrG9PvMXsQwBD6pJ8E3Qg7QaeQgr2yTccqE8CPUnF lMZSvUrH65wrSnMcU+ogN6Re17mIEE/cpCb5CdAGoV6+i51kQrxKBe5rqzxUvZr1XptN nUThZbJjU0JXjKRmU+dUAFxPa3UXJqo4h1W2e1E9BspTXodPXboCDSrz4R1MSdiHcIdu I/1ivK7hwqDW4DfX8drWSCvL7GGxgUTymite10z98TQtQHOmUN4CB9Hls+X+Vjul4xjn oAmcSWTucXuD9tXnkyl8YbA6oQBYfQDZNvf2AOnW+1PcEKCbCmmxI68zUxEoGnXsKLH2 gt3w== MIME-Version: 1.0 X-Received: by 10.112.128.170 with SMTP id np10mr25173128lbb.22.1392820011394; Wed, 19 Feb 2014 06:26:51 -0800 (PST) Received: by 10.112.35.167 with HTTP; Wed, 19 Feb 2014 06:26:51 -0800 (PST) In-Reply-To: References: <20140219175643.0e744028@X220.alogt.com> <20140219201420.7d2f7e1c@X220.alogt.com> Date: Wed, 19 Feb 2014 14:26:51 +0000 Message-ID: Subject: Re: Where has my /dev/label gone? From: Tom Evans To: lucian@lastdot.org Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-net@freebsd.org" 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 14:26:54 -0000 On Wed, Feb 19, 2014 at 12:24 PM, 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. When you mount a geom, any other names that it has are removed. Thus, if you label "ada1p1" as "foo", but mount it as "ada1p1", then the label "foo" disappears. Logical once you think about it. Cheers Tom PS: Why is this -net?