|
我的板子跑的是linux2.6.21,插上U盘的/proc/partitions信息如下:
# cat partitions
major minor #blocks name
31 0 4740 mtdblock0
8 0 2027520 sda
8 1 2027504 sda1
mount /dev/sda1 /var/usb可以正常使用,但当我接入80G USB HDD,里面有三个FAT32分区,/proc/partitions信息如下:
# cat partitions
major minor #blocks name
31 0 4740 mtdblock0
8 0 78150744 sda
8 1 1 sda1
8 5 30716248 sda5
8 6 20972826 sda6
8 7 26450991 sda7
mount /dev/sda5(6,7) /var/usb,任何一个都mount出错:
# mount -t vfat /dev/sda0 /var/usb
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
mount: Mounting /dev/sda0 on /var/usb failed: Invalid argument
# mount -t vfat /dev/sda5 /var/usb
mount: Mounting /dev/sda5 on /var/usb failed: No such file or directory
后来,确没发现有sda5,sda6,sda7
#ls /dev
sdb1 sdh1
sdb2 sdh2
sdc0 si3215
sdc1 slac
sdc2 spu
sdd0 tty
sdd1 tty0
sdd2 tty1
sde0 ttyS0
sde1 ttyS1
sde2 ttyp0
sdf0 ttyp1
sdf1 urandom
sdf2 zero
sda0 sdg0
sda1 sdg1
sda2 sdg2
sdb0 sdh0
哪位大虾帮忙分析下问题,谢谢!! |
|