Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 21:07:20 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Mark Valentine <mark@thuvia.demon.co.uk>, "M. Warner Losh" <imp@bsdimp.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Mikhail Teterin <mi+celsius@aldan.algebra.com>
Subject:   Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_dis 
Message-ID:  <22678.1035572840@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 25 Oct 2002 14:55:39 EDT." <XFMail.20021025145539.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.20021025145539.jhb@FreeBSD.org>, John Baldwin writes:

>Seriously.  What you want is logical volume names.  GEOM does not provide
>that.

Well, actually...

GEOM allows us to do exactly this sort of thing in a non-hackish way,
but for lack of time and fear of bikesheds (boy, did I get that wrong!)
I havn't even thought of going near that feature-set.

Various people have mumbled about automounting things in logical
places and a number of gottchas have been raised.  There are issues
which needs to be hashed out, and security is a significant road-block
Imagine a CDrom which says "mount me on /etc" :-( 

The concept I'm toying with currently is something like this:
When a new device arrives, we scan it (somehow) for identifiers
(volumen names, UUIDs, whatever) then look it up in /var/db/volumes.

If there is a match (wildcards allowed) we mount it where /var/db/volumes
tells us to,

If there is no match, we don't mount it until the user tells us to.
In a graphical env we could pop up a window asking for mountpoint
and with a "save" checkbox which creates a /var/db/volumes entry.

Some of this, btw, crosses into devd(8) territory.

Anyway, I think this is a very interesting area of future development
and I think we can do some really cool things, but it will not
happen for 5.0-R.  It could _maybe_ happen for 5.1-R if somebody
with time and skill comes forward right after 5.0-R.

In the meantime, lets focus on what we put on our platter already.

Poul-Henning

<PLUG strength="blatant">
BSDCON Europe 2002, in particular the GEOM tutorial, offers a good
chance to learn and discuss more about all this :-)
</PLUG>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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