FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

# mount -t vfat /dev/sda1 /mnt
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

解决办法:

make menuconfig

File Systems --->

     DOS/FAT/NT Filesystems  --->

        (utf8) Default iocharset for FAT

改为

        (cp936) Default iocharset for FAT

 

 mount -t vfat /dev/sda1 /mnt/udisk

可成功使用u盘 mini2440开发板

 

 

 

在插入u盘时

sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

 

不知道是不是utf8 is not a recommended IO charset 这个问题!!

 

我查看了u盘的格式

[root@EmbedSky /]# fdisk -l /dev/sda

Disk /dev/sda: 4002 MB, 4002910208 bytes
32 heads, 63 sectors/track, 3878 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1        3878     3908992+  b Win95 FAT32

但我用命令 mount  /dev/sda1 /mnt/udisk  或  mount -t vfat /dev/sda1 /mnt/udisk等都会出现下面的语句就不行!

FAT: Filesystem panic (dev sda1)

fat_get_cluster: invalid cluster chain (i_pos 0)

File system has been set read-only

ls: /mnt/udisk/128x64: Input/output error

你可能感兴趣的:(FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!)