gpart volume names in /dev?
freebsd at dreamchaser.org
Mon Jan 28 17:25:04 UTC 2019
On 1/27/19 8:59 PM, Polytropon wrote:
> On Sun, 27 Jan 2019 19:48:02 -0700, Gary Aitken wrote:
>> How does one get gpart labels to show up in /dev?
> They should show up automatically as soon as a drive's partitions
> have been labeled. When such a partition gets mounted, the label
> file in /dev will disappear, this is completely normal. I'm not
> sure, but maybe even if you use the device name for mounting,
> the label could disappear as the corresponding provider is no
> longer available for mounting.
Ah, maybe that's why I didn't see them any more.
>> Can I simply list the label as /dev/hdd-1TB-root (in the above example)
>> in fstab and it will happen automagically?
> Note that depending on the _kind_ of labels, the entry in /etc/fstab
> has to be in a specific format.
> /dev/ada1p2 <- device name
> /dev/gpt/hdd-1TB-root <- label from gpart
> /dev/label/hdd-1TB-root <- label from glabel
> /dev/ufsid/1234567890abcdef <- UFS ID
> You can find more information here:
Thanks, that's what I needed.
More information about the freebsd-questions