RFC: Adding a ``user'' mount option

Joe Marcus Clarke marcus at FreeBSD.org
Tue Apr 4 06:47:21 UTC 2006


On Tue, 2006-04-04 at 08:30 +0200, Alex Dupre wrote:
> Joe Marcus Clarke wrote:
> > What I'd like to achieve is a simple out-of-the-box way of mounting
> > media such as CDs, and floppy disks without users necessarily needing to
> > know about sysctl.  While I can't speak for KDE, I know GNOME already
> > has the ability to detect user-mountable media, and gives the users
> > icons on the desktop to mount said volumes.
> 
> I don't know what exactly you mean with 'detect user-mountable media',
> but a KDE user may have desktop icons for every device/fs listed in
> /etc/fstab. I assume GNOME works in a similar way. And clicking on the
> icon of course will mount the media with the 'mount' command. KDE also
> monitor changes to the fstab file and can open a dialog window when a
> new media appears, but since the fstab file is not automatically updated
> on FreeBSD (I don't know how it works exactly on Linux) this feature is
> quite useless.

GNOME works in a similar fashion.  Currently if vfs.usermount=1, FreeBSD
scans the fstab list, and if the mount point is owned by the current
user, it adds an icon for it.

For dynamic updates, Linux has mtab.  For FreeBSD (in GNOME, that is),
we just periodically check for changes in the list of available file
systems.

Joe

> 
> --
> Alex Dupre
> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060404/901b25ca/attachment.pgp


More information about the freebsd-hackers mailing list