我的安装有问题吗?
//192.168.1.150/Drew /media/Cloud cifs auto,credentials=/home/drew/.credentials/smb,_netdev,uid=drew,gid=drew,rw 0 0
当我运行时,sudo mount -a
驱动器已安装,没有问题。但是,系统启动时驱动器不会自动挂载吗?
uname -a
Linux drew-desktop 4.14.24-1-MANJARO #1 SMP PREEMPT Sun Mar 4 21:28:02 UTC 2018 x86_64 GNU/Linux
pacman -Q | grep cifs
cifs-utils 6.7-2
ls -l /media | grep Cloud
drwxr-xr-x 2 drew drew 0 Mar 9 17:32 Cloud
答案1
我必须启用自动安装网络驱动器的服务,正如 @Ignacio Vazquez-Abrams 所说。详细信息是这里。
sudo systemctl enable systemd-networkd-wait-online