I am on Kubuntu 12.04.
I have five labelled ext4 partitions on an external removable 1 TB external USB hard drive.
When the drive is plugged in, a box pops up, asking me what I want to do for each partition. If I elect to use the dolphin file manager, it mounts the relevant partition on /media/LABEL where LABEL is the label of that partition. Interestingly, the directories on /media disappear after the external drive is ejected.
To enable automated backups, I want to find out if the mounting can be done automatically without having to click on the popup box to select the dolphin file manager? Essentially, I wish to:
automount each partition on USB plugin on
/media/LABELas before where the directories under/mediaare created automatically on the fly; andOn ejection, automatically unmount partitions and remove the directories under
/media.
Thanks.
System Settings->Removable Devicesis perfect and works for me. Those who are not faint-hearted could also look at these links: 1 and 2. – chandra Jun 01 '12 at 12:27