躺在沙滩上的小猪

快乐的每一天

共享windows下的文件.

需要用到以前win下的文件:

[martinx@martinx martinx]$ su
Password:
[root@martinx martinx]
# mkdir /mnt/temp
[root@martinx martinx]# mount -t smbfs -o username=martin.xus,password=******
//192.168.0.229/share /mnt/temp

或者
[root@martinx martinx]#  /etc/init.d/smb start
[root@martinx martinx]# .smbmount -o username=martin.xus,password=******
//192.168.0.229/share /mnt/temp


直接访问即可

[root@martinx martinx]# ls /mnt/temp


取消
[root@martinx martinx]# umount /mnt/temp


posted on 2005-10-09 09:32 martin xus 阅读(451) 评论(1)  编辑  收藏 所属分类: linux