From owner-cvs-all Fri Oct 25 12: 7:40 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 821FF37B401; Fri, 25 Oct 2002 12:07:38 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F1E443E3B; Fri, 25 Oct 2002 12:07:37 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g9PJ7KrF022679; Fri, 25 Oct 2002 21:07:22 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: Mark Valentine , "M. Warner Losh" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Mikhail Teterin Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_dis In-Reply-To: Your message of "Fri, 25 Oct 2002 14:55:39 EDT." Date: Fri, 25 Oct 2002 21:07:20 +0200 Message-ID: <22678.1035572840@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , 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 BSDCON Europe 2002, in particular the GEOM tutorial, offers a good chance to learn and discuss more about all this :-) -- 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