Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2011 00:48:33 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Mark Saad <nonesuch@longcount.org>
Cc:        stable@freebsd.org
Subject:   Re: geom_label, fstab without device names & swap partition?
Message-ID:  <4D309A81.7040808@rdtc.ru>
In-Reply-To: <AANLkTimupkfzmMZrPvOnLo8=Jw_62k3gu4==UuaY%2BKdp@mail.gmail.com>
References:  <628423291.20110112210201@serebryakov.spb.ru>	<AANLkTin=ug708a9c3WozMLhqxQ4=FiC-nvah3RRdj4F1@mail.gmail.com>	<AANLkTinu6Y9_Vn3mtnsC3L7YSVes%2BgTd7YyZ=R139hN=@mail.gmail.com>	<AANLkTi=cq2fXSD%2Bn4%2BXiVuetB0tY%2BGbaZXwV2x4Az=A3@mail.gmail.com> <AANLkTimupkfzmMZrPvOnLo8=Jw_62k3gu4==UuaY%2BKdp@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D309A81.7040808>