Paul L. Snyder on 12 Nov 2004 15:08:02 -0000 |
Quoting Jeff Abrahamson <jeff@purple.com>: [...] > The question: how do USB devices get named? How do I know what I'm > mounting if, say, I have a compact flash card and a hard drive plugged > into USB ports? I typically refer to /var/log/messages. You'll see something like the snippet at the end of the message (which in my case tells me the flash drive is at /dev/sda). I'm haven't delved into the way that USB drives are named, but I seem to recall that udev is supposed to make the assignments predictable and reproducible. If you have multiple drives, check messages after each is added. HTH, pls usb 1-1: new full speed USB device using address 3 scsi0 : SCSI emulation for USB Mass Storage devices Vendor: WD Model: Flash Disk Rev: 2000 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 256000 512-byte hdwr sectors (131 MB) sda: assuming Write Enabled sda: assuming drive cache: write through /dev/scsi/host0/bus0/target0/lun0: p1 p4 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 USB Mass Storage device found at 3 scsi.agent[21253]: disk at /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/host0/0:0:0:0 ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|