I need my Pi to reliably mount EXACTLY the same name for a USB thumbdrive every time it boots.
The drive is labeled "USBDRIVE" and if you unplug/plug it in while the Pi is running, it might get mounted the second time as "USBDRIVE(2)" or something like that. Oh well, that's okay, even though that breaks something I'm working on, but I DO want to be able to restart the PI and have the drive mapped as "USBDRIVE" again, without the added (1) or (2) or whatever...
Is there some code I could run on boot that:
- removes all records of previous USB drive mounts
- then mounts the drive again with that same label/name again?
The drive will physically be in the USB port for this whole reboot cycle.
THANK YOU FOR YOUR HELP!
