On Wed, 18 Apr 2007 14:08:56, Dan Bar Dov wrote: > > I inserted a USB flash drive to the USB slot. man -k usb told me about > lsusb, and the device is recognized. How do I access it (mount it)? [I > don't think hotplugging is set up, but I want to do it manually, so > please, don't teach me how to set up hotplugging].
I don't see how lsusb helps you - It only shows that a real device is attached to the usb hub - not how the system (device-mapper ?) added it to /dev directory. A better way is to check the /var/log/messages. Do something like: grep -C 7 "SCSI emulation for USB" /var/log//messages The relevant result (kernel 2.6.11) I got are: <date+id> kernel: usb 1-2: new high speed USB device using ehci_hcd and address 5 <date+id> kernel: scsi5 : SCSI emulation for USB Mass Storage devices <date+id> kernel: Vendor: WDC WD25 Model: 00JS-60NCB1 Rev: 2E02 <date+id> kernel: Type: Direct-Access ANSI SCSI revision: 02 <date+id> kernel: SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB) <date+id> kernel: sdc: assuming drive cache: write through <date+id> kernel: SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB) <date+id> kernel: sdc: assuming drive cache: write through Which means - an uninitialized disk attached as /dev/sdc After initializing and making an fs, I mount it by: mount /dev/sdc1 /GIBUY (this disk is for backup). I did not use flash memory, but AFAIK it is FAT device so you should mount it by: mount -t vfat /dev/sd<X>1 <your-mount-dir> Note. Don't count on the scsi device being always the same, I've seen changing even when only 1 USB device was attached. Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]