Posted: Tue Oct 27, 2020 15:39 Post subject: Re: NTFS USB drive to make a NAS: wrong mounting point
merciers wrote:
I have setup the USB part and the disk is automatically mounted to /tmp/mnt/sda1
Alas when I go the the NAS setup and I try to add a shareon this drive the path field proposes only either /mnt or/mnt/sda1. And I cannot edit it.
What can I do ?
You are describing normal functioning.
/mnt/sda1 is (most of the time) what you want to choose there. This will cause partition 1 of attached USB to be shared as whatever you want to call it (you type it in) using the "Name" field.
The "Subdir" field is for specifying (only) an individual folder (includes subfolders) on a chosen partition, but is optional. (You won't be presented with folder/file names there either, you type it in.)
Joined: 04 Aug 2018 Posts: 1446 Location: Appalachian mountains, USA
Posted: Tue Oct 27, 2020 20:30 Post subject:
Why you don't care about the /tmp up front:
root@TheRouter:~# ls -ld /mnt
lrwxrwxrwx 1 root root 7 Aug 1 20:41 /mnt -> tmp/mnt
So /tmp/mnt and /mnt are the same. Two names, one directory (folder), using a linux symbolic link (what Windows calls a shortcut, I believe). _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.