如何找出当前文件系统使用的charset编码以及如何将其更改为UTF-8?
编辑:
这是mount的输出:
- /dev/sdb6 on / type ext3 (rw,relatime,errors=remount-ro)
- tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
- /proc on /proc type proc (rw,noexec,nodev)
- sysfs on /sys type sysfs (rw,nodev)
- varrun on /var/run type tmpfs (rw,mode=0755)
- varlock on /var/lock type tmpfs (rw,nodev,mode=1777)
- udev on /dev type tmpfs (rw,mode=0755)
- tmpfs on /dev/shm type tmpfs (rw,nodev)
- devpts on /dev/pts type devpts (rw,gid=5,mode=620)
- fusectl on /sys/fs/fuse/connections type fusectl (rw)
- lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
- securityfs on /sys/kernel/security type securityfs (rw)
- binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev)
- gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nodev)
这是“cat / etc / fstab”的输出
- # /etc/fstab: static file system information.
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- proc /proc proc defaults 0 0
- # /dev/sdb7
- UUID=50d660f1-1948-41e1-96af-3cb9bca338dd / ext3 relatime,errors=remount-ro 0 0
- # /dev/sdb8
- UUID=efaee412-8e29-4f65-927d-f57252451088 none swap sw 0 0