usb mount , failed: No such device or address usb挂载不了

插入U盘出现的消息

[root@jibe-eek /root]# [  379.070000] usb 1-1: USB disconnect, address 3
[  381.910000] usb 1-1: new full speed USB device using maximasp-ohci and address 4
[  382.110000] usb 1-1: New USB device found, idVendor=0930, idProduct=6545
[  382.130000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  382.150000] usb 1-1: Product: DataTraveler 108
[  382.170000] usb 1-1: Manufacturer: Kingston
[  382.190000] usb 1-1: SerialNumber: 00187D0F5682EBA01000185F
[  382.210000] scsi2 : usb-storage 1-1:1.0
[  383.310000] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 108 PMAP PQ: 0 ANSI: 0 CCS
[  384.190000] sd 2:0:0:0: [sdb] 7669824 512-byte logical blocks: (3.92 GB/3.65 GiB)
[  384.230000] sd 2:0:0:0: [sdb] Write Protect is off
[  384.250000] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[  384.270000] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[  384.310000] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[  384.360000]  sdb: sdb4
[  384.390000] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[  384.410000] sd 2:0:0:0: [sdb] Attached SCSI removable disk


出现这个问题的时候,是自己的节点没有创建好,所以需要创建设备的节点,

# mount /dev/sda4 /mnt/usb_drive
执行上面的这条命令号,出现的问题是不能挂载节点,

首先需要使用:

# cat /proc/partitions
结果如下:

major minor  #blocks  name


  31        0      32768 mtdblock0
  31        1         16 mtdblock1
  31        2          8 mtdblock2
  31        3       2048 mtdblock3
  31        4        512 mtdblock4
  31        5        512 mtdblock5
  31        6       4096 mtdblock6
  31        7       4096 mtdblock7
  31        8       5120 mtdblock8
  31        9     102400 mtdblock9
  31       10     102400 mtdblock10
  31       11     303104 mtdblock11
   8        0    3834912 sda
   8        4    3834880 sda4

mknod /dev/sda b 8 0
mknod /dev/sda4 b 8 1
这样就可以使用了,可以在dev/sda4这个目录的存在了,挂载就成功了
感触:网上很多的资料都存在误导开发人员,没有好的开发文档,所以浪费了很多时间,

你可能感兴趣的:(JIBE,EEK)