Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.