Suppose I run sudo mount -a after setting /etc/fstab to:
/dev/usbhd1 /path/to/mount/point ntfs rw,auto,nofail 0 1
Yesterday, upon asking what steps our architect and I should do next after a SanDisk USB disconnect on an Ubuntu Linux 16.04 operating system installed from a Live CD on a Lenovo Thinkstation quad-core desktop, I was instructed by Serge, meuh and Julie Pelletier to implement the following steps:
"If you are going to connect and disconnect your HD regularly,then set up udev rule to mount it upon insertion at expected location. you could omit fstab entry in this case"
How do I set up a udev rule to automatically mount and unmount the SanDisk Cruzer USB upon insertion and removal of the same USB in order to eliminate an fstab entry? I would like this udev rule to apply to reboots also.
How do I make udev and fstab rules to differentiate between 2 identical SanDisk Cruzer 8 Gigabyte USB drives I purchased from BestBuy?
Any help is greatly appreciated.