labels and layout

Kevin Downey redchin at gmail.com
Fri Feb 9 17:19:45 UTC 2007


On 2/9/07, Indigo <indigo at voda.cz> 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.
>
>
>
geom_lable.ko is I think the kernel module for glabel. Works great.
The labels on filesystems show up in /dev/label,

kpd at zifnab ~% ls /dev/label
BigDisk.root BigDisk.swap BigDisk.usr  BigDisk.var


-- 
The biggest problem with communication is the illusion that it has occurred.


More information about the freebsd-fs mailing list