Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
I read the UDEV Primer and I'm still confused
Ever since I moved to a 2.6 kernel (and therefore udev), I haven't been able to access my USB flash drive. It used to be /dev/sda, and my harddrive was /dev/hda. Now my harddrive is /dev/sda, and I don't know where to look for it. I've gone over /sys/bus/usb, but under devices there, there's 5 usb devices. How do I know which one is the right one, and where is the device to mount?
Try /dev/sda1 when your usb_storage module is loaded (and the necessary scsi support). This happens (dmesg) when I plugin an usbstick:
usb 3-2: new high speed USB device using ehci_hcd and address 3 SCSI subsystem initialized Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning usbcore: registered new driver usb-storage USB Mass Storage support registered. Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 usb-storage: device scan complete SCSI device sda: 2002944 512-byte hdwr sectors (1026 MB) sda: Write Protect is off sda: Mode Sense: 0b 00 00 08 sda: assuming drive cache: write through SCSI device sda: 2002944 512-byte hdwr sectors (1026 MB) sda: Write Protect is off sda: Mode Sense: 0b 00 00 08 sda: assuming drive cache: write through sda: sda1 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 0I\'m so tired .....
I don't think that'll work, considering that my harddrive (an SATA) is at /dev/sda.
- Join Date
- Dec 2005
If /dev/sda stands for your hard drive then, usb flash drive should be accessible by /dev/sdb or /dev/sdc ! Try it and lemme know if this works.
No go; none of them are valid block devices.