QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 958|回复: 7

FC5的ext3分区文件名乱码

[复制链接]
发表于 2006-6-21 19:21:21 | 显示全部楼层 |阅读模式
FC5的ext3分区中文文件名乱码,但是系统所在的ext3分区正常。
NTFS分区是用mount /dev/hdc4 /mnt/hdc4 -t ntfs -o iocharset=utf8
加载的,中文文件名可正常显示。
用mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=utf8
mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=cp936
都不行,提示出错。

/etc/sysconfig/i18n文件内容如下:
LANG="zh_CN.UTF-8"
SYSFONT="none"

错误信息:
[root@localhost su]# mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=utf8
mount: /dev/hdc1 already mounted or /mnt/hdc1 busy
mount: according to mtab, /dev/hdc1 is already mounted on /mnt/hdc1
[root@localhost su]# mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=cp936
mount: /dev/hdc1 already mounted or /mnt/hdc1 busy
mount: according to mtab, /dev/hdc1 is already mounted on /mnt/hdc1
查过很多公社的帖子,但是还是解决不了。太复杂的看不懂。
发表于 2006-6-21 19:36:22 | 显示全部楼层
mount: /dev/hdc1 already mounted or /mnt/hdc1 busy
mount: according to mtab, /dev/hdc1 is already mounted on /mnt/hdc1

已经挂载了吧
回复

使用道具 举报

发表于 2006-6-21 19:47:37 | 显示全部楼层

Re: FC5的ext3分区文件名乱码

[quote:8ab65445d2="susuu"]FC5的ext3分区中文文件名乱码,但是系统所在的ext3分区正常。
NTFS分区是用mount /dev/hdc4 /mnt/hdc4 -t ntfs -o iocharset=utf8
加载的,中文文件名可正常显示。
用mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=utf8
mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=cp936
都不行,提示出错。

/etc/sysconfig/i18n文件内容如下:
LANG="zh_CN.UTF-8"
SYSFONT="none"

错误信息:
[root@localhost su]# mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=utf8
mount: /dev/hdc1 already mounted or /mnt/hdc1 busy
mount: according to mtab, /dev/hdc1 is already mounted on /mnt/hdc1
[root@localhost su]# mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=cp936
mount: /dev/hdc1 already mounted or /mnt/hdc1 busy
mount: according to mtab, /dev/hdc1 is already mounted on /mnt/hdc1
查过很多公社的帖子,但是还是解决不了。太复杂的看不懂。[/quote]

它告诉你已经挂载好了呀?
回复

使用道具 举报

 楼主| 发表于 2006-6-21 20:15:01 | 显示全部楼层
卸载掉重新挂载也不行:
[root@localhost .su]# mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=utf8
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

[root@localhost .su]# mount -t ext3 /dev/hdc1 /mnt/hdc1 -o iocharset=cp936
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
回复

使用道具 举报

发表于 2006-6-21 20:22:47 | 显示全部楼层
FC的codepage好像不是这个样子挂的
回复

使用道具 举报

 楼主| 发表于 2006-6-21 21:11:18 | 显示全部楼层
那应该怎么办,以前ext3的分区直接挂上就可以了,不加什么codepage也不会乱码呀
回复

使用道具 举报

发表于 2006-6-22 07:17:16 | 显示全部楼层
本来ext3就不用加codepage啊
回复

使用道具 举报

 楼主| 发表于 2006-6-23 22:05:08 | 显示全部楼层
什么都不加就是乱码
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-22 23:25 , Processed in 0.070377 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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