这个功能实现了windows编辑,linux编译的好处,非常爽,值得写一个
最开始
mount -t cifs -o username=ADMIN //10.250.100.51/workspace /mnt/
/mnt是linux目录,workspace就是你自己设置的共享文件夹
最开始要建共享文件夹,但是右键没有共享,估计是下面这个方案,有点忘了
https://www.pconline.com.cn/win10/1077/10772568.html
设置允许可读可写
https://blog.csdn.net/fuyuande/article/details/82915800
开始ping不通,使用以下方法
https://blog.csdn.net/tojohnonly/article/details/71374984
再后面装了cifs-utils
最后需要指定下协议vers=3.0就没有主机关闭的错误了,还有
mount -t cifs -o vers=3.0,username=ADMIN //10.250.100.51/workspace /mnt/
在Windows上打开SMB服务
https://blog.csdn.net/fuyuande/article/details/82915800
https://blog.csdn.net/tojohnonly/article/details/71374984
https://blog.csdn.net/fuyuande/article/details/82915800
http://tieba.baidu.com/p/2815749624
https://zhidao.baidu.com/question/1111404663230331659.html