gpart volume names in /dev?

Gary Aitken freebsd at
Mon Jan 28 02:50:58 UTC 2019

Once upon a time on a 10.3 system I had entries in /dev corresponding
to gpart labels.  e.g. ada1p2 was listed as hdd-1TB-root.  I was then
able to use those names in fstab, which was handy because I think fstab
would still work even if the drives were connected differently.

How does one get gpart labels to show up in /dev?
Can I simply list the label as /dev/hdd-1TB-root (in the above example)
in fstab and it will happen automagically?



More information about the freebsd-questions mailing list