Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 14:26:51 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        lucian@lastdot.org
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Where has my /dev/label gone?
Message-ID:  <CAFHbX1KRvww0OG=p_yWRC_cRffqneLXtyZqSy3dj%2B%2BDgKWJr9Q@mail.gmail.com>
In-Reply-To: <cone.1392812668.912159.4595.500@workvmetc>
References:  <CAJ94W%2BzW_uVReTq=CLOqoKZFW_e3sNMsyoLsZnafCMz9voQg_g@mail.gmail.com> <20140219175643.0e744028@X220.alogt.com> <cone.1392810880.797015.4595.500@workvmetc> <20140219201420.7d2f7e1c@X220.alogt.com> <cone.1392812668.912159.4595.500@workvmetc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 19, 2014 at 12:24 PM,  <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.

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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1KRvww0OG=p_yWRC_cRffqneLXtyZqSy3dj%2B%2BDgKWJr9Q>