Before you insert your SD card or USB drive
# cat /proc/partitionsThis will show you the existing partitions. Now insert your SD Card or USB drive, wait until the kernel message is done, or wait 5-10 secs to make sure your kernel complete recognizing your drive.
# cat /proc/partitionsYou should see something new like sdb or mmcblk0p1. Check your /dev to see the device node is already exist. If not, uses the device major and minor name showed in /proc/partitions, create it using mknod command:
# mknod /dev/<device name> b <major> <minor>Then you can create your mount point e.g. mkdir /mnt/sdcard or /mnt/usb_driver and mount your partiton
# mount /dev/<device name> /mnt/<mount point>Then you should be able to read your drive. If /proc/partitions fails to show up, I would suspect something is wrong with your SD card or USB drive, or something to do with the driver.
No comments:
Post a Comment