From owner-freebsd-arch Fri Jan 24 14:27:21 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9D4F37B401 for ; Fri, 24 Jan 2003 14:27:19 -0800 (PST) Received: from ns1.gnf.org (ns1.gnf.org [63.196.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC3343ED8 for ; Fri, 24 Jan 2003 14:27:19 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch01.lj.gnf.org [172.25.10.19]) by ns1.gnf.org (8.12.3/8.12.3) with ESMTP id h0OMRHMf015258 for ; Fri, 24 Jan 2003 14:27:17 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.5329); Fri, 24 Jan 2003 14:27:18 -0800 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.6/8.12.6) with ESMTP id h0OMRI6t081154; Fri, 24 Jan 2003 14:27:18 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.6/8.12.6/Submit) id h0OMRIKs081153; Fri, 24 Jan 2003 14:27:18 -0800 (PST) (envelope-from gtetlow) Date: Fri, 24 Jan 2003 14:27:18 -0800 From: Gordon Tetlow To: Garance A Drosihn Cc: arch@FreeBSD.ORG Subject: Re: CFR: Volume labels in FFS Message-ID: <20030124222718.GN53114@roark.gnf.org> References: <20030124212259.GJ53114@roark.gnf.org> <20030124215753.GM53114@roark.gnf.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KbRlJ7rsgYPVCYDX" Content-Disposition: inline In-Reply-To: <20030124215753.GM53114@roark.gnf.org> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 24 Jan 2003 22:27:18.0841 (UTC) FILETIME=[C15FBA90:01C2C3F7] Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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/, 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 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