geom_label, fstab without device names & swap partition?
egrosbein at rdtc.ru
Fri Jan 14 18:48:41 UTC 2011
On 13.01.2011 02:11, Mark Saad wrote:
>>>> Use glabel(8) to label the device:
>>>> # glabel label swap ada0s1b
>>> On a side note there is not a simple way to glabel mounted filesystem
>> True, but for a swap partition, it's easy to disable swap, label the
>> partition, and re-enable swap. :)
>> Freddie Cash
>> fjwcash at gmail.com
> Well the thing is I like use glabel in place of a fs label as it makes
> my devices all names something similar
> /dev/label/thingie rather then have /dev/ufs/rootfs and
> /dev/label/swap , I'll have /dev/label/rootfs /dev/label/swap.
> Also I dont think you can easily change a live label either .
"tunefs -L" changes UFS label (/dev/ufs/label) and does not use extra 512 bytes of space.
More information about the freebsd-stable