如果用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.
阅读(1292) | 评论(0) | 转发(0) |