Method automatic mount purpose removable storage console in Ubuntu?

Good evening, Gabriele!


Clean the console Ubuntu 12.04 LTS


To automotivate and unmount thumb drives, hard drives, cdrom, etc.


The media must be writable as a normal user

needs to unmount the cdrom by pressing the eject button


gvfs + policykit = difficult and unstable.

Halevt + pmount = difficult and abandoned

sudo + udev = DE not supported, it is unknown how c works cdrom


Advise promising and logical option.

PS still inclined to udev.
October 3rd 19 at 03:32
4 answers
October 3rd 19 at 03:34
4 years ago did this on a bare Debian with udev+autofs, see here:
Cd-rom have not tried it, but the stick was mounted with a Bang:

Ignore the pop-up labels is a small trolling of a friend who filmed the video. Friend claimed that in this terrible and horrible retarded Linux there is not even auto-mount in addition to by means of the DE :)
October 3rd 19 at 03:36 — here is described the way how to write a script that responds to hot-plugging. I would start with this, probably
October 3rd 19 at 03:38
3 years ago were only in the console. Use ivman (in repo of Debian was). Still, for the lazy, you can use daemon PCManFM or at heavier Thunar.
October 3rd 19 at 03:40
In debian for a hundred years, using for automatic mount purpose usb flash drives
with the screws a little more complicated — it is possible to do, but there's usually a bunch of partitions and different FS, so the rules are much more complicated than just
/dev/sdx1 -> /media/usb0
but in any case, udev, right

Find more questions by tags Ubuntu