使用方法:
先在你的xp电脑里面添加一个共享的文件夹: 临时存贮文件夹
#mount -t cifs -o username=test,password=test //192.168.100.6/临时存贮文件夹 /mnt/lscc
但是如果你要挂载你的硬盘分区的话,同样设置你的硬盘分区d为共享但是主要你的共享名称一定要是英文
#mount -t cifs -o username=fish,password=fish //192.168.1.10/ld /mnt/d
如果你要卸载你挂载的东西
#umount /mnt/lscc
#umount /mnt/d
就可以了
备注:
说明一下,cifs是MS的一种通用的协议,Windows下的网上邻居访问其它计算机就是使用cifs协议.
原文http://www.cnblogs.com/xmphoenix/archive/2011/08/17/2143291.html