From owner-freebsd-arch Fri Jan 24 13:53: 3 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 DBE3D37B401 for ; Fri, 24 Jan 2003 13:53:01 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 332CF43F3F for ; Fri, 24 Jan 2003 13:53:01 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h0OLqxIm130112; Fri, 24 Jan 2003 16:52:59 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030124212259.GJ53114@roark.gnf.org> References: <20030124212259.GJ53114@roark.gnf.org> Date: Fri, 24 Jan 2003 16:52:57 -0500 To: Gordon Tetlow , arch@FreeBSD.ORG From: Garance A Drosihn Subject: Re: CFR: Volume labels in FFS Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 1:22 PM -0800 1/24/03, Gordon Tetlow wrote: >I'd like to get some review of my patch to add volume label >support to FFS. I've already changed struct fs (sorry non-i386 >users) to allocate some space for the label. I'm looking to >commit this relatively soon unless there is some major problems >with the review. > >http://people.freebsd.org/~gordon/patches/volume.diff > >The patch is basically a GEOM module (which allows you to use >volume labels for your root partition is you so desire (my >laptop's root slice is mounted from /dev/vol/rootfs)) and a >couple modifications to add labels (newfs, tunefs). 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=/blah /mnt/blah ufs rw 2 2 (if so, I'd also like something like: IFLABEL=/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) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message