SOLUTION, HOW TO make that permanent path to USB drive:
In Terminal, type
This will get the UUID of my Samsung SSD, currently mounted as
Before I did anything, I ran
to view the contents of the fstab file.
I used my xed text editor to edit fstab:
I got some warnings but it worked in the past and worked today.
I added this new line:
Code: Select all
UUID=7b84083f-6f00-4c17-bc21-4110a35354aa /mnt/usb-samsung ext4 defaults,nofail,x-systemd.automount 0 2
to the bottom of fstab and saved the file, then unmounted my USB drive from the left panel of my Files GUI listing. I had to empty the trash before unmounting, but I did that and restarted the computer.
I visited the Files GUI interface and looked on the side panel. No drive listed there. I visited the filesystem from the side panel, and looked for /mnt, which previously was unused. There it was, /mnt/usb-samsung. I clicked usb-samsung and opened my drive.
Everything there was owned by me, so I need to make a shortcut in ~ (Home) so I have quick access to it, or put it on the Desktop.
Proof that it works: I deleted the broken "firefox" link to the Firefox profile and ran a command to link the profile to ~/.mozilla again. I am using Firefox with its profile on the USB drive that is mounted using the code added to fstab.
Sources of information:
How to Automount USB Devices in Linux | Baeldung on Linux
I read down to 2.3 on his page. This page has me coming off of /media/usb-stick. The usb-stick folder is the name of his drive. I used my UUID and my ext4 filesystem in the place of his UUID and "auto." I kept the rest of his line intact in my fstab file. I followed the next source's use of /mnt and named my drive "usb-samsung."
Automatically mount USB external drive - Linux Tutorials - Learn Linux Configuration
These sources helped me better understand my questions in this matter, and hope this information helps others.
Looking back in /media/you, there are five iterations of the Samsung SSD, called "samsung," "samsung1," - "samsung4," all root directories. I believe they should be removable.