Where has my /dev/label gone?
Tom Evans
tevans.uk at googlemail.com
Wed Feb 19 14:26:54 UTC 2014
On Wed, Feb 19, 2014 at 12:24 PM, <lucian at 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?
More information about the freebsd-net
mailing list