Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Linux /dev insanity

Name: Anonymous 2007-01-29 17:26

How did I told which /dev devices get created for my USB devices? My USB Flash drives get mapped at something like /dev/usbX, where X changes according to the Mayan calendar, and my USB hard disk gets mapped at /dev/sdb or /dev/sdc, or perhaps /dev/sdd, it must have something to do with weather and how it's feeling. Every time I plug crap in I have to keep trying devices to see which one is it. Is there one way to quickly see what devices are my physical drives?

Name: Anonymous 2007-01-29 19:21

tail /var/log/messages

some distros will automount to /media as well

*nix much?

Name: Anonymous 2007-01-30 1:01

try df command
also install usbmount
a lsusb is fine too
and RFTM+STFU+GTFO

Name: Anonymous 2007-01-30 1:34

udev. learn aboot it or gb2 windose.

Name: Anonymous 2007-01-30 17:07

Does it make any sense that the same USB device plugged in the same USB controller gets mapped to different devices in /dev? Why that insanity?

Name: Anonymous 2007-01-30 17:18

'cuz it enumerates them

you do read the messages or logs don't you?

that is to say that everytime you connect a usb device it gives it a different number and so it gets a different device number

blame apple for their overly complicated usb spec. the o/s is just doing it's best with what it has to work with, and you want it to make sense??? silly boy

Name: Anonymous 2007-01-30 17:55

>>6
Windows does a better job, and it's not like the algorithm is Knuth's best. You have X devices, which can be A:, B:, C:, etc. or /dev/usb0, /dev/usb1, .... Plug drive - receev first free slot. OMG.

Don't change these.
Name: Email:
Entire Thread Thread List