labels and layout

Brooks Davis brooks at freebsd.org
Fri Feb 9 16:40:52 UTC 2007


On Fri, Feb 09, 2007 at 09:28:21AM -0600, Eric Anderson wrote:
> 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?

I checked with Pawel and will commit it shortly.

-- 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/24ab2b84/attachment.pgp


More information about the freebsd-fs mailing list