linux系统下挂载window系统下的共享目录
假定Windows系统,IP地址为:192.168.0.11 我们设定了d:/folder/share的共享名为 share , 有用户administrator ,密码123
现在需要挂载到Linux系统下,把share挂到/mnt目录:
使用以下命令:
mount -t cifs -o username=administrator,password=123 //192.168.0.11/share /mnt
PS:使用cifs的类型来mount
cifs是Common Internet File System,通用internet文件系统 ,简单来说就是用来通过网络进行文件的读写、共享等功能。
来学一学方法。