Disable automounting in Ubuntu
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.
(Or)
Run Nautilus and open Edit => Preferences > Media. Turn off "Browse media when inserted".
Related videos on Youtube
![David Harris](https://i.stack.imgur.com/2kjSw.jpg?s=256&g=1)
David Harris
Updated on September 17, 2022Comments
-
David Harris almost 2 years
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?
-
mwfearnley almost 3 yearsPeople from the future might find askubuntu.com/questions/1189715/… or possibly askubuntu.com/questions/1062719/… useful.
-
-
Patryk almost 12 yearsIs there a similar tool for Ubuntu 12.04 ?