Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 14:27:18 -0800
From:      Gordon Tetlow <gordont@gnf.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        arch@FreeBSD.ORG
Subject:   Re: CFR: Volume labels in FFS
Message-ID:  <20030124222718.GN53114@roark.gnf.org>
In-Reply-To: <20030124215753.GM53114@roark.gnf.org>
References:  <20030124212259.GJ53114@roark.gnf.org> <p05200f17ba5764ef8e3a@[128.113.24.47]> <20030124215753.GM53114@roark.gnf.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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

On Fri, Jan 24, 2003 at 01:57:53PM -0800, Gordon Tetlow wrote:
> On Fri, Jan 24, 2003 at 04:52:57PM -0500, Garance A Drosihn wrote:
> >=20
> > This sounds interesting.  The patch looks like it just adds
> > support for setting and retrieving the label.  How will this
> > be usable at the /etc/fstab level?  Will this let us do something
> > similar to what linux allows for /etc/fstab, such as:
> >    LABEL=3D/blah  /mnt/blah   ufs  rw  2 2
> >=20
> > (if so, I'd also like something like:
> >    IFLABEL=3D/blah  /mnt/blah   ufs  rw  2 2
> > which means *iff* the OS finds a partition labelled /blah, then
> > it should mount it at /mnt/blah, and that it is *not* an error
> > when no such labelled volume is found)
>=20
> No, it actually creates device nodes in /dev/vol/<volname>, so it be more
> like this:
>=20
> /dev/vol/rootfs     /       ufs rw 1 1
> /dev/vol/usrfs      /usr    ufs rw 2 2
> ...etc...
>=20
> I didn't go the Linux route and do LABEL=3D<foo> because there is alot of
> black magic in the loader that reads /etc/fstab looking for the root
> partition and I didn't want to mess with fstab.h and friends.

I can also forsee being able to hook into devd to do some automounting magic
for things like zip disks and cdroms (obviously not with FFS, but cd9660
support would be a good thing to have once GEOM recognizes cdroms).

-gordon

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

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

iD8DBQE+Mb3GRu2t9DV9ZfsRAjAhAJ0ZHF+Zs2k32/+oAEWqUmM0sZN0QQCggdHb
1BFAsP/6xxPnzWUAIORumYA=
=kCew
-----END PGP SIGNATURE-----

--KbRlJ7rsgYPVCYDX--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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