本人遇到的情况如下:
在nand中刷入了cb_a20_ubn_12.04_x-v1.02-dram480.img
将一个nfts文件系统的优盘插入到USB1口
安装了ntfs-3g 包(apt-get install ntfs-3g)
使用Secure Shell Client 连接到板子上
执行了 root@Cubieboard:~# mount -t ntfs -o utf8,umask=0000 /dev/sda1 /mnt/ntfstest/
然后 root@Cubieboard:~# ls /mnt/ntfstest
显示如下结果:
SqlServer???Sqlite????????????????????????.txt
testshell.rar
?????????????????????????????????????????????.flv
英文文件名可以正常显示,中文都为问号。
文件传输工具中该目录的截图如下:
请问如何修正为中文,谢谢!
参考过http://cb.e-fly.org/archives/system-cb-rpi-usb.html 但没有解决
经实验在sata接口接入ntfs的硬盘,挂载时也有同样的乱码问题。
如下信息可供参考:
fdisk -l 相关信息:Disk /dev/sda: 8048 MB, 8048869376 bytes
141 heads, 58 sectors/track, 1922 cylinders, total 15720448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdeec4405
Device Boot Start End Blocks Id System
/dev/sda1 * 32 15720447 7860208 7 HPFS/NTFS/exFAT
locale相关信息:
root@Cubieboard:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
|