How to mount USB Mass Storage Device under Linux

Post Reply
esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

How to mount USB Mass Storage Device under Linux

Post by esky-sh » Sat Dec 20, 2008 8:48 pm

Assume USB Disk is in FAT32
Following messages will appear after USB Disk plug in:


SCSI device sda: 2000561 512-byte hdwr sectors (1024 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 2000561 512-byte hdwr sectors (1024 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0:<7>usb-storage: queuecommand called
unknown partition table
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0

Mount device:

[root@FriendlyARM /]#mount /dev/scsi/host2/bus0/target0/lun0/part1 /mnt
[root@FriendlyARM /]#

Check files on disk:

① [root@FriendlyARM /]#cd mnt ② [root@FriendlyARM /]#ls

forumuseridrohit
Posts: 1
Joined: Sat Nov 14, 2009 7:25 am

Re: How to mount USB Mass Storage Device under Linux

Post by forumuseridrohit » Sun Dec 20, 2009 1:53 pm

Hi,
I am newbie and have just started learning linux on Mini2440. I am able to access my SDcard but while accessing usb I am facing problems.
I get the following messages on hyperterm when I plugin my usb memstick.

Code: Select all

[root@FriendlyARM /dev]# usb 1-1: new full speed USB device using s3c2410-ohci a
nd address 3
usb 1-1: New USB device found, idVendor=058f, idProduct=6387
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Mass Storage Device
usb 1-1: Manufacturer: JetFlash
usb 1-1: SerialNumber: CF6I6M5L
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
scsi 1:0:0:0: Direct-Access     JetFlash TS2GJFV30        8.07 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] 4014078 512-byte hardware sectors: (2.05 GB/1.91 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] 4014078 512-byte hardware sectors: (2.05 GB/1.91 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
 sda:
sd 1:0:0:0: [sda] Attached SCSI removable disk
This is mentioned in the document as well.... till now its fine. But I am unable to see the directory "udisk" as mentioned in the document. :(

Am I missing the procedure ?? plz help. I am unable to access the content of the usb drive.

Regards
Rohit

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests