参考1.https://blog.csdn.net/tojohnonly/article/details/71374984
参考2.https://blog.csdn.net/lanyou1900/article/details/39612585
通过修改fstab文件,支持开机自动挂载
修改/etc/fstab文件,文件最后加入:
//192.168.1.100/workspace /mnt/share cifs auto,username=‘echo’,password=123456 0 0
不然会报错
参考3.https://blog.csdn.net/qidizi/article/details/47059445
/etc/fstab文件密码不能加引号,不然要报错。