I know the image you mean, but I can’t find it.
I know the image you mean, but I can’t find it.
Best practice
That sounds useful, thank you very much.
I described what I did here.
Meanwhile I found a solution using fstab.
What’s the advantage of using a systemd script?
I’ll probably switch to simple script, since I don’t like the idea of my laptop shouting my NAS access credentials into any available random network on startup.
You’re right, I’ve been mixing up nfs and smb.
Meanwhile, I’ve found a solution: I’ve added the following line to my /etc/fstab
:
//nas/sharedFolder /mnt/entrypoint cifs credentials=/home/yourUserNameHere/.nascreds,uid=yourUserID,gid=yourGroupID,defaults,auto 0 0
then run sudo systemctl daemon-reload
followed by sudo mount -av
.
make sure your credentials file can only read by users and groups you trust, in my case it’s 750.
However, this is still a workaround. The thing is, GTK-based apps don’t show network resources. That irks me.
Using gvfs-nfs
returns unknown file system type.
I’ve run mount -v yadda yadda
and got portmap query failed: RPC: Unable to receive - Connection refused
I’ll definetly look deeper into this, thank you very much.