Some systems use udev / pmount to automatically mount thumbdrives. How is that solved in Ubuntu (specifically, Ubuntu 12.04)? Apparently, neither the pmount package nor the corresponding udev rules are present, yet Ubuntu mounts the inserted USB drives automatically. How does that happen?
In Ubuntu 12.04 (Unity, and presumably Gnome Shell/Classic) automounting is handled by GNOME Desktop/Nautilus, which monitors DBus events for insertion, etc. The
gvfs*
backend is used, in co-operation withudisks
for the low-level mounting, etc.gvfs-mount
is used internally, and running it in monitor mode with the-o
switch will show, for example:GNOME deals with it. See https://help.ubuntu.com/community/Mount/USB.
mount:
unmount/eject: