Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 23:36:23 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Gordon Tetlow <gordont@gnf.org>, Garance A Drosihn <drosih@rpi.edu>, arch@FreeBSD.ORG
Subject:   Re: CFR: Volume labels in FFS 
Message-ID:  <20030125073624.049092A89E@canning.wemm.org>
In-Reply-To: <3E31C4F5.972AA69C@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> Gordon Tetlow wrote:
> > > No, it actually creates device nodes in /dev/vol/<volname>, so it be more
> > > like this:
> > >
> > > /dev/vol/rootfs     /       ufs rw 1 1
> > > /dev/vol/usrfs      /usr    ufs rw 2 2
> > > ...etc...
> > >
> > > I didn't go the Linux route and do LABEL=<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 magi
    c
> > 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).
> 
> 
> That's what "Last mounted on" is for.

Umm, no thanks.

> Gotta wonder why we need volume devices, when we know where we
> are going to mount the thing...

This is far too unreliable.  Check what happens (for example) when you boot
from floppy and mount your partitions as /mnt/foo.  I dont want the system
to helpfully remember that for me.

I much prefer Gordon's approach.  It's deterministic and isn't going to be
messed with during the normal course of system administration.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


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?20030125073624.049092A89E>