今天学习了下S3C2440的U盘挂载,发现No such file or directory问题,
挂载方法操作如下:
1,开发板插入U盘,串口输出如下:
# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access Generic- SD/MMC 1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 3891200 512-byte hardware sectors (1992 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 3891200 512-byte hardware sectors (1992 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
2,创建挂载目录
mkdir /mnt/udisk