0

So I would like to be able to use my smb share convienently, however gvfs gives it a rather complex name. I have tried a symlink like this to a pre-existing directory /mnt/qnap:

ln -s /var/run/user/1000/gvfs/smb-share\:server\=qnap\,share\=transfer/ /mnt/qnap

but then I get a link to the last directory name (which is still quite cumbersome), not the contents of the directory:

mike@Abra:~$ ls /mnt/qnap
smb-share:server=qnap,share=transfer

Is there a better way to do this? What am I missing?

Mike Wise
  • 211

1 Answers1

1

Okay - I learned three things.

  1. The answer to my question above was to not pre-create the directory in /mnt - @ubashu hinted at this in the comments.
  2. But what I really wanted to do was have the smb share mounted at start as per this link: https://wiki.ubuntu.com/MountWindowsSharesPermanently
  3. And for me that only works if you add a ver=2.0 to the mount smb initialization string as per this post CIFS Host is down
Mike Wise
  • 211