Date: Fri, 9 Feb 2007 09:07:15 -0800 From: "Kevin Downey" <redchin@gmail.com> To: Indigo <indigo@voda.cz> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: labels and layout Message-ID: <1d3ed48c0702090907j368d76c0y820424e9a3609288@mail.gmail.com> In-Reply-To: <op.tnhjv0np5sheu4@spyro.eiecon.net> References: <op.tnhjv0np5sheu4@spyro.eiecon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/9/07, Indigo <indigo@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@zifnab ~% ls /dev/label BigDisk.root BigDisk.swap BigDisk.usr BigDisk.var -- The biggest problem with communication is the illusion that it has occurred.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d3ed48c0702090907j368d76c0y820424e9a3609288>