There’s tons of misinformation all over the internet on how to properly do this with OSMC.
What is the correct way to get an SMB network mount to automount on boot? I was previously using /etc/fstab to mount the share but since it ignores the “_netdev” option, I have to manually mount the share everytime it boots.
And just as soon as I posted this, I found the correct fstab options:
Could you show/explain the whole process for setting up and auto-mounting the file share?
Sorry this is late but for anyone still wondering. Here’s how I created a CIFS automount folder:
sudo vi /etc/fstab
add the following line (modify with your options):
//220.127.116.11/sharename /home/osmc/cifs/ cifs nobrl,uid=xxxx,sec=ntlmv2,user=xxxx,pass=xxxx,noauto,x-systemd.automount 0 0
sudo mount /home/osmc/cifs