Chinaunix首页 | 论坛 | 博客
  • 博客访问: 262181
  • 博文数量: 82
  • 博客积分: 2502
  • 博客等级: 少校
  • 技术积分: 842
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-04 15:13
文章分类

全部博文(82)

文章存档

2011年(3)

2009年(25)

2008年(54)

我的朋友

分类: LINUX

2008-07-30 12:04:01

如果用ntfs-3g挂载中文文件不设置好参数将没办法在linux下显示,解决方法如下
修改/etc/fstab
/dev/hda9  /mnt/G         ntfs-3g           umask=000,locale=zh_CN.utf8, 0 0
也就是添加了locale=zh_CN.utf8这个参数,因为一般的挂载用utf8就可以了,不过ntfs-3g比较特殊
其中man手冊这么写:
 locale=value
  This  option can be useful if your language specific locale environment variables are not set correctly or at all in your operating system.  In such  cases,  the  national  characters  can  be  made  visible  by using this option.
阅读(1240) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~