QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 875|回复: 5

请教高手,在gentoo下如何看mount上的vfat,nt

[复制链接]
发表于 2004-9-17 21:02:27 | 显示全部楼层 |阅读模式
请教高手,在gentoo下如何看mount上的vfat,ntfs分区中的中文文件名,
我用mount -t ntfs -o iocharset=gb2312 /dev/hdc5 /mnt/hdc5可以顺利mount上,但中文文件名全是乱码并且显示无效unicod而用
mount -t ntfs -o iocharset=gb2312,codepage=936 /dev/hdc5 /mnt/hdc5或
mount -t ntfs -o codepage=936 /dev/hdc5 /mnt/hdc5或
mount -t ntfs -o codepage=cp936 /dev/hdc5 /mnt/hdc5或
mount -t ntfs -o iocharset=utf8 /dev/hdc5 /mnt/hdc5
全部失败显示mount:wrong fs type,bad option,bad superblock on /dev/hdc5 or too many mounted filesystem
请教高手该如何mount才能看到中文文件名
locale显示zh_CN.UTF-8
发表于 2004-9-17 22:07:49 | 显示全部楼层
-o iocharset=utf8
自己搜一下论坛,这个问题都被答烂了居然还有……
回复

使用道具 举报

 楼主| 发表于 2004-9-17 23:12:01 | 显示全部楼层
mount -t ntfs -o iocharset=utf8 /dev/hdc5 /mnt/hdc5
全部失败显示mount:wrong fs type,bad option,bad superblock on /dev/hdc5 or too many mounted filesystem
你看到没!!!
回复

使用道具 举报

 楼主| 发表于 2004-9-18 10:19:52 | 显示全部楼层
估计会不会是核心内没编入对utf8的支持
回复

使用道具 举报

发表于 2004-9-18 10:42:23 | 显示全部楼层
不好意思,没看清。

——内核的NLS加入UTF-8支持了?(废话,locale都UTF-8了
——更可能的原因是: mount 命令有 alias?(这种事情我干过^_^)
回复

使用道具 举报

发表于 2004-9-18 13:23:01 | 显示全部楼层
试过mount -t ntfs -o iocharset=cp936 /dev/hdc5 /mnt/hdc5 吗?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-5 06:22 , Processed in 0.044518 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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