
Originally Posted by
shreepads
At least for USB drives can't this be done easier by using UUIDs?
I'll try and post results...
Yup, works fine...
1. Run in the terminal
2. Connect the USB drive and let it automount.
3. Run in the terminal
4. Note the UUID(s) of the new partition(s) listed, which would be the one(s) on the USB drive.
5. Create a suitable mount point(s)
Code:
cd /media
sudo mkdir SS4GB1
sudo chgrp plugdev SS4GB1
6. Edit fstab and add an entry like so (tweak any settings you like)
Code:
UUID=<insert UUID from above without quotes> /media/SS4GB1 vfat auto,noexec,rw,users,nodev,nosuid,noatime,flush 0 2
Now you can leave it plugged in at boot, 'Remove Safely', plug it back in while running, remove as another user etc etc and it is always on /media/SS4GB1 (err.. except when it is ejected of course!
)