QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2137|回复: 7

RHEL AS4.0挂载vfat分区不能正常识别中文

[复制链接]
发表于 2006-9-14 19:23:30 | 显示全部楼层 |阅读模式
使用
mount -t vfat /dev/hda5 /mnt/d -o iocharset=cp936
还是不能正常显示

之前使用过RH9 FC5 等linux 用此命令都能正常显示

请问这是为何?
发表于 2006-9-14 20:02:06 | 显示全部楼层
将"mount -t vfat /dev/hda5 /mnt/d -o iocharset=cp936"中的

"vfat"改成"msdos"即可.
回复

使用道具 举报

 楼主| 发表于 2006-9-14 21:01:49 | 显示全部楼层
谢谢 我去试下
回复

使用道具 举报

 楼主| 发表于 2006-9-14 21:13:59 | 显示全部楼层
不行  
[root@rhel4 mnt]# mount -t msdos /dev/hda5 /mnt/d/ -o iocharset=cp936
mount: wrong fs type, bad option, bad superblock on /dev/hda5,
       or too many mounted file systems
回复

使用道具 举报

发表于 2006-9-14 22:58:15 | 显示全部楼层
mount -t vfat /dev/hda5 /mnt/d -o iocharset=utf8
回复

使用道具 举报

 楼主| 发表于 2006-9-14 23:51:14 | 显示全部楼层
啊哈哈  OK了
谢谢斑主
为什么RHEL和别的版本命令不一样呢
回复

使用道具 举报

发表于 2006-9-15 00:20:48 | 显示全部楼层
看locale和gbk/gb2312/gb18030/utf8之间的关系和联系的文章
回复

使用道具 举报

 楼主| 发表于 2006-9-15 00:32:42 | 显示全部楼层
好  偶去找找``` 谢谢斑竹```
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-26 01:12 , Processed in 0.125171 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表