RFC: Adding a ``user'' mount option

Darren Pilgrim darren.pilgrim at bitfreak.org
Tue Apr 4 18:08:45 UTC 2006


Stefan Sperling wrote:
> Why do GNOME/KDE rely on /etc/fstab on FreeBSD?
> 
> GNOME/KDE could be patched to create mount points
> somewhere in the user's home directory, and issue a 'mount device mount_point' 
> instead of 'mount mount_point' if the user clicks the device icon.

Limiting GNOME/KDE to just those mounts listed in /etc/fstab provides a 
mechanism of access control.  If GNOME/KDE allowed user mounts of any 
device, then it would become possible for users to mount umounted system 
volumes.  Using fstab also makes it possible for GNOME/KDE to mount items 
with mount options (sync, mode limits, quotas, etc.) and just rely on the 
system to get it right, rather than having system-specific, parallel mount code.



More information about the freebsd-hackers mailing list