labels and layout

Eric Anderson anderson at freebsd.org
Fri Feb 9 15:28:24 UTC 2007


On 02/09/07 09:07, Brooks Davis wrote:
> On Fri, Feb 09, 2007 at 03:29:50PM +0100, Indigo wrote:
>> Hello everyone,
>>  heres a batch of question:
>>
>> Im looking for a way to mount disks by label instead of device. Im on 6.2  
>> and I can't use ZFS until it gets released.
>> I saw that tunefs and newfs have some label option - but I assumed it's  
>> not the kind of label I want because no one is using it.
>>
>> An example with AdvFS (Tru64):
>> # mount
>> root_domain#root on / type advfs (rw)
>> /proc on /proc type procfs (rw)
>> usr_domain#usr on /usr type advfs (rw)
>> var_domain#var on /var type advfs (rw)
>>
>> I just think it's stupid to edit fstab every time Im swapping things  
>> inside the box - I think it's needless.
> 
> ufs labels as set by tunefs and newfs work fine as long as your load the
> geom_label module.  I'm honestly not sure what it isn't in GENERIC.
> It's really useful.  You can also use glabel labels for your swap
> partitions.


I agree!  I use it heavily, pretty much on every system I touch.  I 
label swap, root, etc.  Who should we nag^H^H^Hask about including it in 
GENERIC?


Eric



More information about the freebsd-fs mailing list