码迷,mamicode.com
首页 > 其他好文 > 详细

mini2440 U盘挂载

时间:2015-03-05 16:31:38      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

插入U盘,调试串口会显示:

[root@FriendlyARM code]# usb 1-1: new full speed USB device using s3c2410-ohci 4
usb 1-1: New USB device found, idVendor=0951, idProduct=1666                    
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3               
usb 1-1: Product: DataTraveler 3.0                                              
usb 1-1: Manufacturer: Kingston                                                 
usb 1-1: SerialNumber: 60A44C3D7ECDBE205974C700                                 
usb 1-1: configuration #1 chosen from 1 choice                                  
scsi2 : SCSI emulation for USB Mass Storage devices                             
scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6    
sd 2:0:0:0: Attached scsi generic sg0 type 0                                    
sd 2:0:0:0: [sdb] 30712320 512-byte logical blocks: (15.7 GB/14.6 GiB)          
sd 2:0:0:0: [sdb] Write Protect is off                                          
sd 2:0:0:0: [sdb] Assuming drive cache: write through                           
sd 2:0:0:0: [sdb] Assuming drive cache: write through                           
 sdb: sdb4                                                                      
sd 2:0:0:0: [sdb] Assuming drive cache: write through                           
sd 2:0:0:0: [sdb] Attached SCSI removable disk     

 

不会实现自动挂载,挂载要手动挂载。

创建挂载目录 mkdir /mnt/udisk

[root@FriendlyARM /]# cat /proc/partitions                                      
major minor  #blocks  name                                                      
                                                                                
  31        0        256 mtdblock0                                              
  31        1        128 mtdblock1                                              
  31        2       5120 mtdblock2                                              
  31        3     256640 mtdblock3                                              
  31        4     262144 mtdblock4                                              
   8        0   15356160 sda                                                    
   8        4   15356032 sda4    

可见我的U盘是sda sda4

mount /dev/sda4 /mnt  即可。

 

mini2440 U盘挂载

标签:

原文地址:http://www.cnblogs.com/ht-beyond/p/4316053.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!