udiskie is an automatic disk mounting service using . It can be used for mounting CDs, flash drives, and other media. It is simple to use and requires no configuration.
udiskie --tray &
Once udiskie is running, all removable media will automatically be mounted under
/media under a new directory that matches the device name.
udiskie-umount command to unmount media. For example, for a device named "MY_USB_DRIVE":
Or, you can unmount all media with the command: