在linux下mount windows硬盘

来源:互联网 发布:cms网站系统 编辑:程序博客网 时间:2024/05/27 09:46
在windows下共享需要允许访问的文件夹
1.关闭windows防火墙
2.确认windows用户名和密码正确
3.执行命令mount -t cifs //windows_ip/share_path /mount_path -o username=CW,password=1,rw
 
 
然后在linux下:使用cifs类型mount
 
1. mount -t cifs //windows_ip/share_path /mount_path -o username=CW,password=1,rw
 
对于用户名为windows用户和password为windows用户的密码。
0 0