linux系统挂载windows系统的文件

这个功能实现了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

https://bbs.csdn.net/topics/392368142?page=1

https://blog.csdn.net/okhymok/article/details/79350953

猜你喜欢

转载自blog.csdn.net/jack_rose_l/article/details/87948978