Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 02:04:33 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        hackers@FreeBSD.org
Subject:   Re: RFC: Adding a ``user'' mount option
Message-ID:  <20060403020115.C92968@odysseus.silby.com>
In-Reply-To: <1144042356.824.16.camel@shumai.marcuscom.com>
References:  <1144042356.824.16.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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--



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