I am on Ubuntu 20.04 Desktop and I have an external drive that is a "workhorse" for a lot of my backup routines.
Problem:
For whatever reasons unbeknownst to me.. following a recent reboot, it now mounts the same external drive under two names, which is causing my scripts and apps to fail b/c they can find the correct path. For example:
The path to my external should be:
/media/user/external
(and indeed in nautilus, I see it mounted as normal as "external")
Where things get weird is when I run Nautilus with admin privileges and I see that the external drive has also been mounted at:
/media/user/**external1**
(the "1" is being appended to the external drives name and wreaking havoc on backup routines.
In a nutshell, any script or running as root will see an incorrect path to my external drive and fail.
I didn't manually created any mount points... this has been working normal as expected for years, this stopped... 😲😲
Question:
How can I ensure the drive is only mounted correctly, once?
Any tips?
/media/user
there remained a directory called "external". I deleted it and rebooted... problem solved