Hey guys, I'm hoping that one of you with more Linux knowledge than me can help me solve this problem. A bit of background: I encrypted an entire USB HDD using VeraCrypt, and I use it to backup certain directories. I just run a script and enter my password, and the script mounts the drive using VeraCrypt, rsyncs all my data over, and then unmounts the drive. NOTE: To OMV, it appears that there's no filesystem on the drive at all until it is mounted using VeraCrypt. The problem I'm having is that the device path can change, i.e., /dev/sdg for this USB HDD. If I add another drive to my array, the USB drive might become /dev/sdh. I don't want to have to keep updating my script, so is there some static path that my script can point to? Or is there a way to force a device path for a given device, i.e., /dev/sdz?
Thanks!