Re: Mounting USB devices
On Fri, Jan 10, 2003 at 11:05:18PM -0500, Trey Sizemore wrote:
> How can I tell how my USB devices are indentified in Linux? I want to
> be able to mount my Sandisk USB mass storage device to get pictures off
> my camera's CF card. I know through trial and error that my Zip 250 USB
> drive is seen as /dev/sda1 so I created a mnt/sda1 to access it. I have
> several devices connected via USB including printer, mouse and scanner
> in addition to the devices mentioned.
I just went through the same thing this morning, when I added a usb CF
reader to my system. Here's a quick 'n dirty checklist:
ezekiel:/# apt-get install sg3-utils
ezekiel:/# sg_scan -i
/dev/sg0: scsi0 channel=0 id=2 lun=0 type=5
PIONEER DVD-ROM DVD-305 1.03 [wide=0 sync=1 cmdq=0 sftre=0 pq=0x0]
/dev/sg1: scsi0 channel=0 id=4 lun=0 type=1
HP C1533A 9503 [wide=0 sync=1 cmdq=0 sftre=0 pq=0x0]
/dev/sg2: scsi1 channel=0 id=0 lun=0 [em] type=5
LITE-ON LTR-52246S 6S04 [wide=0 sync=0 cmdq=0 sftre=0 pq=0x0]
/dev/sg3: scsi2 channel=0 id=0 lun=0 [em] type=0
SIIG CompactFlash Car 0113 [wide=0 sync=0 cmdq=0 sftre=0 pq=0x0]
ezekiel:/# sg_map
/dev/sg0 /dev/scd0
/dev/sg1 /dev/st0
/dev/sg2 /dev/scd1
/dev/sg3 /dev/sda
>From the above, you can see that my CF card is /dev/sda, so the data
partition is located on /dev/sda1. I added the following line to
/etc/fstab:
# compact flash reader
/dev/cf /mnt/cf vfat user,noauto 0 0
[Note: I used /dev/cf in fstab, as I've linked cf to sda ("ln -s sda1 cf")]
Reply to: