labels and layout

Brooks Davis brooks at freebsd.org
Fri Feb 9 15:07:35 UTC 2007


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.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070209/e54e8b9a/attachment.pgp


More information about the freebsd-fs mailing list