Selective mounted volumes for the GNOME Desktop and Nautilus Sidebar

Solution 1:

Where are "40GB Filesystem", "80gb" and "backup" mounted?

My guess is under /media.

This is something that used to really annoy me, that Windows shares from the file server would appear as removable storage in my Places menu.

So I changed the mount point from /media/S to /mnt/S and now it is handled correctly as non removeable storage. Now the remote windows share :

  • does not appear in Places menu
  • does not get added to my "Disk Mounter" applet
  • does not get added as a volumes_visible icon on my desktop.

You can easily test this yourself by

  • ensure the volumes_visible option is checked in gconf-editor
  • create a mount point such as /mnt/backup/
  • edit your /etc/fstab file to use /mnt/backup instead of /media/backup
  • unmount /media/backup
  • mount /mnt/backup

I have just tested these steps and you wont have to log out to see the changes.

When you unmount the drives the icons will disappear and when you remount them under /mnt they wont reappear.