How to automount usb drive reliably without fstab

Posted by user103279 on Ask Ubuntu See other posts from Ask Ubuntu or by user103279
Published on 2012-10-30T23:17:27Z Indexed on 2012/10/30 23:19 UTC
Read the original article Hit count: 154

Filed under:
|

Hi I need a way to mount a usb drive without using fstab.

I Cannot use fstab because the drive is not connected to my computer at boot. This causes an issue during any one off reboots because start up hang waiting for this device until a keyboard intervention to skip it.

I cannot use my current script with just does mount /dev/sde1 /media/Backup because sometimes it changes to sdf.

Consider this a server install. I can't use tools at the user or GUI level.

I suppose the sum of my question is how to manually mount a usb drive from the commandline considering the reliability of the /dev/sd value isn't consistent.

Thanks,

© Ask Ubuntu or respective owner

Related posts about backup

Related posts about drive