日期:2014-05-17  浏览次数:20659 次

ubuntu将远程的windows文件夹mount到本地

编辑存放mount信息的文件: vi /etc/fstab

添加需要mount文件的信息到文件中:

#<file system> <mount point> <type> <options> <dump> <pass>

//10.57.50.150/filename /home/viking/filename cifs username=yourusername password=yourpassword, iocharset=utf8,

uid = 1000, gid = 1000 0 0

?

cifs - 新提出的协议,它使程序可以访问远程Internet计算机上的文件并要求此计算机的服务。

iocharset - http://blog.sina.com.cn/s/blog_4b807d53010006wj.html

uid - UID 用户身份证明(User Identification) 普通用户默认从1000开始

gid - Gr oup Identification 群体身份(指共享资源系统使用者的身份)普通用户默认从1000开始