In a shell, type
sudo apt-get install dconf-tools
dconf-editor
Once the editor's launched, navigate to Desktop -> Unity -> Devices and you're able to switch devices-option to either Never (don't show any), Always (show all), and OnlyMounted (the default). Changes are applied instantaneously.