Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 09:07:34 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Indigo <indigo@voda.cz>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: labels and layout
Message-ID:  <20070209150734.GB1193@lor.one-eyed-alien.net>
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

--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 09, 2007 at 03:29:50PM +0100, Indigo wrote:
> Hello everyone,
>  heres a batch of question:
>=20
> Im looking for a way to mount disks by label instead of device. Im on 6.2=
 =20
> 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 =
=20
> not the kind of label I want because no one is using it.
>=20
> 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)
>=20
> I just think it's stupid to edit fstab every time Im swapping things =20
> 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

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFzI41XY6L6fI4GtQRApgIAJ4qz7BKvHNblNZQ7emu2kiwkey2nACfV2fR
doQV2nGOKZzkYmLLVNgh7QM=
=OZ6i
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070209150734.GB1193>