Prevent external devices from mounting automatically

how to mount automatically devices by tapping them into the computer We are all used to pricking our USB pendrive and automatically see the contents of the device; Such functionality, so useful under normal conditions, is due to the Nautilus automount option.

Unfortunately the other day my memory was spoiled of my Android mobile and this behavior prevented me from being able to make an image of the device (automatic retries to mount it caused the process to get caught).

As you learn something from everywhere, this time it was the turn of Gnome’s automount 😉

Avoid automount

For this we must open the configuration manager (gconf-editor if you don’t want to look for it in the menus) and deactivate the next entry

how to prevent gnome from mounting the cdrom automatically upon insertion

This will prevent the system from trying to mount external devices when they are inserted into the computer.

Since we are, in the same branch of the configuration the entry appears

automatically display the content of the external device tapped on the computer

what is it that causes Nautilus to open automatically showing the content of the device.

Personally, there are times when I find it uncomfortable for this window to pop up, especially when I already have Nautilus open and what really interests me is to open a tab or panel to recover some files stored on the usb memory 😉

NOTE: For terminal lovers, I recommend you consult the article in which we explain how to modify the system registry from the command line.

Conclution

Although it is useful that external devices are mounted automatically without having to resort to the terminal and the beloved command mount, there are occasions like the problem that I have mentioned with the damaged mobile memory in which it may be interesting to avoid such behavior even temporarily.

Yes someone this interested, tell you that I managed to recover most of the photos (only 9 were permanently lost), does anyone want an article explaining how to recover the content of a damaged mobile memory?

Deja un comentario