环境:ubuntu9.04
问题:1、挂载windows共享目录2、挂载后中文显示乱码
解决:
执行 mount.cifs 失败 提示 sudo apt-get install smbfs
安提示安装:ok
挂载:
sudo mount.cifs //192.168.1.6/MediaFile Q\:/ -o username=administrator,codepage=cp936,iocharset=utf8
输入:passoword
ps: 模拟windows目录 Q\:/ 映射为Q:
设置编码方式:codepage=cp936,iocharset=utf8
取消挂载:
sudo umount Q:
参考资料:
在ubuntu中mount挂载NTFS分区
http://www.feedou.com/articlepickservlet?commandkey=singlearticle&articleID=5c42b7601b8bae62011b8d9139f505ed
smbmount命令变为mount.cifs
http://linux.chinaunix.net/techdoc/system/2008/07/25/1020315.shtml
mount.cifs
http://awaits.spaces.live.com/blog/cns!3F5891229ACEBBD7!231.entry
使用 cifs 替代 smbfs 挂载 windows 共享目录
http://www.oceanboo.cn/read.php?275
windows与linux资源共享(mount命令)
http://hi.baidu.com/5887425/blog/item/1007c1cb67bfad1abf09e6a9.html
ubuntu下访问windows共享文件夹
http://tinypig.iteye.com/blog/283978