Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu 9.04 with xfce and it keeps wanting to automount drives that I plugin, is there a way to disable this?

share|improve this question
up vote 0 down vote accepted

From here

Uninstalling gnome-volume-manager seems really extreme... Simply turning off GVM's automounting of hot-plugged and inserted removable media would be simpler.

From the Gnome Panel, click System->Preferences->Removable Drives and Media and then uncheck the first two boxes on the storage tab. This will turn off automounting for everything not defined in /etc/fstab, and you can turn it back on if desired as easily.

If you just wanted to disable automounting of certain devices you could give them their own line in /etc/fstab, making sure that the fourth field of their line include noauto so they are never automounted.

alt text

(Or)

Run Nautilus and open Edit => Preferences > Media. Turn off "Browse media when inserted".

share|improve this answer
    
Is there a similar tool for Ubuntu 12.04 ? – Patryk Jul 19 '12 at 20:44

Run gnome-volume-properties in the terminal. Uncheck whatever you do not want mounted automatically (Storage, CDs, etc).

alt text

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .