Hi all,

A general question regarding kernel drivers (modules) and how they 
attach a device into the /dev filesystem.

I have a USB CD-ROM which when plugged in is recognised and enumerated 
by the USB sub system as expected.

My question is:  Is there any way of telling which /dev file is assigned 
to the new device?  I had a poke around /proc for some kind of clue but 
couldn't see anything.

I know I can find it by attempting a mount on all the usual entries 
(/dev/scd0, scd1 ...) but there must be a better way.

I had a similar problem at Granville TAFE where, after presenting a 
lesson on USB, a student pulled out a USB memory stick and the same 
thing happened:  It was recognised by usbcore OK, but I couldn't mount 
it.  How would I go about finding where sg.o puts it in /dev?  (I assume 
that usb-storage and sg are the only drivers needed)

Regards,

Andy

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to