From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 3 07:04:37 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4FB716A422 for ; Mon, 3 Apr 2006 07:04:37 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 2947243D48 for ; Mon, 3 Apr 2006 07:04:36 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 19817 invoked from network); 3 Apr 2006 07:04:35 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 3 Apr 2006 07:04:35 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 3 Apr 2006 02:04:33 -0500 (CDT) From: Mike Silbersack To: Joe Marcus Clarke In-Reply-To: <1144042356.824.16.camel@shumai.marcuscom.com> Message-ID: <20060403020115.C92968@odysseus.silby.com> References: <1144042356.824.16.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1669907212-1144047873=:92968" Cc: hackers@FreeBSD.org Subject: Re: RFC: Adding a ``user'' mount option X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 07:04:38 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1669907212-1144047873=:92968 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 3 Apr 2006, Joe Marcus Clarke wrote: > I know we have vfs.usermount, but this is not always sufficient since > the user has to own the mount point in question. What I propose is to > add a ``user'' mount option =E0 la Linux. This would make mount and > umount setuid root, but would allow much more flexibility when it comes > to removable media and desktop systems. > > I'm not a src committer, so this isn't a threat to commit. I'm more > interested in getting feedback, and hopefully some src committer > interest. I think this would really benefit desktop FreeBSD. > > http://www.marcuscom.com/downloads/usermount.diff > > Joe That is a very useful feature, I think it would be a welcome addition to=20 FreeBSD. Making it work for floppies / CDs should be pretty easy, but since you're= =20 adding it as a new feature for us, can you consider making it even more=20 flexible? What I mean is this: We have smbfs support. It would be nice if=20 usermount supported wildcards, so that you could say that user home=20 directories on the samba server 10.2.2.3 could be usermounted by users to= =20 the "fileserver" directory in their home directory. If that worked out of= =20 the box, it would really rock. Basic usermount support only would require= =20 you to add an entry for each user, which is not convenient. Mike "Silby" Silbersack --0-1669907212-1144047873=:92968--