[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

usb device file



Hi. I switched to Debian about a month ago. I set up a minimalistic Lenny system for my desktop, using Fluxbox for my WM. (Very happy with Debian -- switched all my servers over as well.)

I'm also trying to learn how to manually mount my usb memory sticks. I don't want to use ivman, usbmount, or DE tools, but instead I want to learn how to do it on my own in Debian. I've actually done it once or twice in another distro, but I'm having problems in Debian.

When I plug in my usb stick, this is what pops up in syslog:
Oct 20 01:40:52 holmes kernel: [491131.244427] usb 2-2: new full speed USB device using ohci_hcd and address 4 Oct 20 01:40:53 holmes kernel: [491131.442970] usb 2-2: not running at top speed; connect to a high speed hub Oct 20 01:40:53 holmes kernel: [491131.455035] usb 2-2: configuration #1 chosen from 1 choice Oct 20 01:40:53 holmes kernel: [491131.457352] scsi23 : SCSI emulation for USB Mass Storage devices Oct 20 01:40:53 holmes kernel: [491131.458192] usb 2-2: New USB device found, idVendor=0ea0, idProduct=2168 Oct 20 01:40:53 holmes kernel: [491131.458198] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 20 01:40:53 holmes kernel: [491131.458201] usb 2-2: Product: Flash Disk
Oct 20 01:40:53 holmes kernel: [491131.458203] usb 2-2: Manufacturer: USB
Oct 20 01:40:53 holmes kernel: [491131.458205] usb 2-2: SerialNumber: 60B83E19C8F200AF Oct 20 01:40:53 holmes kernel: [491131.458481] usb-storage: device found at 4 Oct 20 01:40:53 holmes kernel: [491131.458485] usb-storage: waiting for device to settle before scanning Oct 20 01:40:58 holmes kernel: [491136.456765] usb-storage: device scan complete Oct 20 01:40:58 holmes kernel: [491136.460659] scsi 23:0:0:0: Direct-Access Simple Tech Flash Disk 2.00 PQ: 0 ANSI: 2
Oct 20 01:40:59 holmes kernel: [491137.537005] ready
Oct 20 01:40:59 holmes kernel: [491137.581586] sd 23:0:0:0: [sde] 231085 512-byte hardware sectors (118 MB) Oct 20 01:40:59 holmes kernel: [491137.627976] sd 23:0:0:0: [sde] Write Protect is off Oct 20 01:40:59 holmes kernel: [491137.627976] sd 23:0:0:0: [sde] Mode Sense: 03 00 00 00 Oct 20 01:40:59 holmes kernel: [491137.627976] sd 23:0:0:0: [sde] Assuming drive cache: write through Oct 20 01:40:59 holmes kernel: [491137.791537] sd 23:0:0:0: [sde] 231085 512-byte hardware sectors (118 MB) Oct 20 01:40:59 holmes kernel: [491137.838570] sd 23:0:0:0: [sde] Write Protect is off Oct 20 01:40:59 holmes kernel: [491137.838577] sd 23:0:0:0: [sde] Mode Sense: 03 00 00 00 Oct 20 01:40:59 holmes kernel: [491137.838580] sd 23:0:0:0: [sde] Assuming drive cache: write through
Oct 20 01:40:59 holmes kernel: [491137.838583]  sde: sde1
Oct 20 01:40:59 holmes kernel: [491138.069701] sd 23:0:0:0: [sde] Attached SCSI removable disk

However, there is no sde block file available in /dev. The closest things are sda, sdb, sdc, and sdd. I try mount using these device files, but the message I always get is 'mount: No medium found'.

Udev is what creates the device file, right? Why isn't it creating an sde or sde1 device file for me? I spent a lot of time googling about this, but all the tutorials I found on mounting assume that /dev/sde already exists.

I get basically the same results when I try a different usb stick.

--
Christopher Howard
choward@indicium.us
http://www.indicium.us


Reply to: