Skip to content

Consistent Mount Points in Gnome

I keep all my music on a SD card so that I can easily move it between my computers, phone, and MP3 player.  This means no more syncing or duplication.

However, with the Gnome auto-mounter, I don’t like the default mount point:  /var/run/$USER/volname.  I greatly prefer having it mounted at ~/Music.  Fortunately, this is easy to do.  The x-gvfs-show option in fstab signals the Gnome auto-mounter to mount this volume in a specific place, and show it as an ejectable volume. Add the following line to /etc/fstab:


# With removable media, this only makes sense when using the UUID as the device specifier.
UUID="UUID" /mount/point vfat nosuid,nodev,nofail,uid=1000,gid=1000,x-gvfs-show 0 0

A reboot is required for this to take effect. There’s probably some service to refresh it, but I didn’t dig so much.