Linux如何挂接Windows网络共享磁盘

Windows网络共享的核心是SMB/CIFS,在linux下要挂接(mount)windows的磁盘共享具体操作如下:

//建立一个目录用来作挂接点(mount point)
# mkdir /nfs/home/${windows.host.name}

//挂载window磁盘
# mount -t smbfs -o username=administrator,password=****** //${windows.host.name}/c$ /mnt/${windows.host.name}

如此就可以在linux系统上通过/nfs/home/${windows.host.name}来访问windows系统磁盘上的文件了。

--------------------- 本文来自 huoyin 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/huoyin/article/details/1756350?utm_source=copy

猜你喜欢

转载自blog.csdn.net/nalnait/article/details/82875668