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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值