Since the release of redhat, no matter which version you connect to the windows partition, the Chinese file name cannot be correctly displayed, Which is troublesome for most friends who use redhat. After the installation, not only will the widows partition be automatically mounted, but the Chinese file name can be correctly displayed. I will introduce two solutions for you!
1: Install the Rpm package of linuxconf
You can find an rpm package of linuxconf. redhat is not installed by default. you can find it on your CD or on the Internet. Generally, there will be no version problems. For example, if I use redhat8.0, linxuconf is actually version 7.2.
Locate linuxconf and run
Rpm-ivh linuxconf *****. rpm
(1) running on a terminal
Linuxconf
(2) find Access local drive in the File systems tree menu to go
(3) Mount windows first, select add, and then take the following example:
Partition-/dev/hda1 Type-vfat mount-/mnt/c
(4) It is the parameter for displaying the Chinese file name.
After mounting a partition, move the cursor down and Dump frequency enters 0; Fsck priority inputs 0; default permission inputs 0;
Other options input iocharset = gb2312, codepage = 936. Complete, and always confirm from start the machine.
2: You can also modify the configuration file in/etc/fstab.
Vi/etc/fstab
Join:
/Dev/hda1/mnt/c vfat exec, dev, suid, rw, umask = 0, iocharset = gb2312, codepage = 936 0 0
/Dev/hda5/mnt/d vfat exec, dev, suid, rw, umask = 0, iocharset = gb2312, codepage = 936 0 0
/Dev/hda6/mnt/e vfat exec, dev, suid, rw, umask = 0, iocharset = gb2312, codepage = 936 0 0/dev/hda7/mnt/f vfat
Exec, dev, suid, rw, umask = 0, iocharset = gb2312, codepage = 936 0 0
/Dev/hda8/mnt/g vfat exec, dev, suid, rw, umask = 0, iocharset = gb2312, codepage = 936 0 0
If you have already mounted the file, you just need to add the parameter.
Remember, it is best to create a folder where you want to hook up now!
My system can be displayed normally. It is much easier to open a song with a Chinese name in xmms.
Related Articles]
- Linux Chinese environment (Special topics)