Artix Linux Forum

Init systems => runit => Topic started by: volkodev on 21 December 2020, 19:57:43

Title: How to automunt CIFS in fstab
Post by: volkodev on 21 December 2020, 19:57:43
Hello,

I tried to bootmount my NAS storage with CIFS by fstab

My fstab:

Code: [Select]
//my.personal.ip.adress/Lab /home/username/Lab cifs username=admin,password=admin 0 0  

but it not mounting while booting

Code: [Select]
sudo mount -a 
works fine

Can someone help?
Title: Re: How to automunt CIFS in fstab
Post by: alium on 21 December 2020, 20:32:31
Quote
but it not mounting while booting

because disk mount in boot process very early/first - before starting network. You need start networks and after mount CIFS. Maybe can help our service called samba-openrc/-runit/-s6 ;-)
Title: Re: How to automunt CIFS in fstab
Post by: nous on 21 December 2020, 21:51:36
There's also a netmount-runit on the AUR.