https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234535

--- Comment #7 from Conrad Meyer <[email protected]> ---
(In reply to yuchensdgt from comment #6)
Oh, yeah.  That would be why the filesystem mounts (in multiuser) are obtaining
non-label names and spoiling the label names.

Note that later in the same example, 18.1, it presents the following fstab:

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/label/swap         none            swap    sw              0       0
/dev/label/rootfs       /               ufs     rw              1       1
/dev/label/tmp          /tmp            ufs     rw              2       2
/dev/label/usr          /usr            ufs     rw              2       2
/dev/label/var          /var            ufs     rw              2       2

I recommend using the label name in fstab, as that example shows.  Then the
/dev/ada names will disappear, which still sucks, but at least the labels will
persist.

In my personal configuration I use GPT labels rather than GEOM labels, but a
similar idea.

# device mount fstype options dump pass
/dev/gpt/freebsd-root / ufs rw,noatime 1 1
/dev/gpt/freebsd-swap none swap sw 0 0

That should resolve the immediate issue, although I would still like to see the
"spoiling" of alternative labels get fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to