USB mount point is not shown in /dev entry point
Hi All,
I flashed initrd image in to flash memory and booted the board. After inserting the pendrive following logs are shown: # usb 1-1.3: new high speed USB device using ehci_hcd and address 6 usb 1-1.3: New USB device found, idVendor=058f, idProduct=6387 usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.3: Product: Mass Storage Device usb 1-1.3: Manufacturer: JetFlash usb 1-1.3: SerialNumber: 1TYSE94P scsi4 : usb-storage 1-1.3:1.0 scsi 4:0:0:0: Direct-Access JetFlash TS4GJFV10 8.07 PQ: 0 ANSI: 2 sd 4:0:0:0: Attached scsi generic sg0 type 0 sd 4:0:0:0: [sda] 7843840 512-byte logical blocks: (4.01 GB/3.74 GiB) sd 4:0:0:0: [sda] Write Protect is off sd 4:0:0:0: [sda] Assuming drive cache: write through sd 4:0:0:0: [sda] Assuming drive cache: write through sda: unknown partition table sd 4:0:0:0: [sda] Assuming drive cache: write through sd 4:0:0:0: [sda] Attached SCSI removable disk but when i checked in /dev,, sda mount point is not present. Please let me know how i need to mount in in /dev ot where it will be mounted other than /dev? |
I guess you are not running udev, which would create the /dev node.
In that case you can make the dev entry yourself with Code:
mknod /dev/sda b 8 0 It seems odd that there is no label on your pendrive. Normally there is an msdos label and you mount /dev/sda1. |
More infor required
Hi,
Thanks for ur valuable response. In ur below reply "where b is for block device and 8,0 are the major and minor numbers as shown in /proc/partitions." In /proc/ one file is present with "partions". In this file nothing is there. How do i find the major and minor number for this device? FYI: Aftre inserting the pendrive ,in /proc/usb-device/scsi is this directory a number(4 or 5,which matches with sda when inserted) is present. Is this number helpful for us? |
How about if you try:
Code:
cat /sys/block/sda/dev |
All times are GMT -5. The time now is 04:59 PM. |