- 论坛徽章:
- 0
|
如何mount SD卡
modprobe usb-storage 后会看到一些信息
modprobe vfat ; 加入fat文件系统的支持
mount /dev/sde1 / mnt/usb ;sde是modprobe usb-storage后看到信息, / mnt/usb如没有要先用 mkdir / mnt/usb创建
在RH9 的内核在会把我的128M SD卡认为1G,但mount不了
升级了最新的kernel-2.6.13.3 后可以正确识别了
升级内核后 modprobe usb-storage 能看到以下信息
Oct 13 09:44:56 rh9 kernel: Initializing USB Mass Storage driver...
Oct 13 09:44:56 rh9 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 13 09:44:56 rh9 kernel: usbcore: registered new driver usb-storage
Oct 13 09:44:56 rh9 kernel: USB Mass Storage support registered.
Oct 13 09:45:01 rh9 kernel: Vendor: USB2.0 Model: CardReader CF Rev: 0100
Oct 13 09:45:01 rh9 kernel: Type: Direct-Access ANSI SCSI revision: 00
Oct 13 09:45:01 rh9 kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Oct 13 09:45:01 rh9 kernel: Vendor: USB2.0 Model: CardReader SM XD Rev: 0100
Oct 13 09:45:01 rh9 kernel: Type: Direct-Access ANSI SCSI revision: 00
Oct 13 09:45:01 rh9 kernel: Attached scsi removable disk sdc at scsi1, channel 0, id 0, lun 1
Oct 13 09:45:01 rh9 kernel: Vendor: USB2.0 Model: CardReader MS Rev: 0100
Oct 13 09:45:01 rh9 kernel: Type: Direct-Access ANSI SCSI revision: 00
Oct 13 09:45:01 rh9 kernel: Attached scsi removable disk sdd at scsi1, channel 0, id 0, lun 2
Oct 13 09:45:01 rh9 kernel: Vendor: USB2.0 Model: CardReader SD Rev: 0100
Oct 13 09:45:01 rh9 kernel: Type: Direct-Access ANSI SCSI revision: 00
Oct 13 09:45:02 rh9 kernel: SCSI device sde: 246016 512-byte hdwr sectors (126 MB)
Oct 13 09:45:02 rh9 kernel: sde: Write Protect is off
Oct 13 09:45:02 rh9 kernel: sde: assuming drive cache: write through
Oct 13 09:45:02 rh9 kernel: SCSI device sde: 246016 512-byte hdwr sectors (126 MB)
Oct 13 09:45:02 rh9 kernel: sde: Write Protect is off
Oct 13 09:45:02 rh9 kernel: sde: assuming drive cache: write through
Oct 13 09:45:02 rh9 kernel: sde: sde1
Oct 13 09:45:02 rh9 kernel: Attached scsi removable disk sde at scsi1, channel 0, id 0, lun 3 |
|