HELP.

I have a question which I assume is simple, but I havent been able to find
an answer in my scanning of the web.  Any pointers (or just the answer)
would be appreciated.

I have things set up on our machines, so that when someone plugs in a USBKEY
that udev makes a link from /dev/usbkey (and 1-15) so that you dont have to
grub thru the messages file to see what device name the kernel has given it.
This way you can always mount /mnt/usbkey1 /dev/usbkey.

OK, my udev rule has typically worked off manufacturer or product.
That was fine when we had one or two different types of USBKEYs in the group,
but it seems that someone comes in with a new one every week, and adding a new
line to all of the udev-rules is a pain.

So, finally the question.  Is there a field out there under
/sys/bus/usb/devices/... that I can key on to say that the device just plugged
in is a USBKEY?

I see a few fields that are the same for all of our USBKEYs, but none of
their names seem to have the right 'feel', so I suspect choosing one will
get me in trouble...

A similar answer for USBDISKs would also be useful.

                                Reg.Clemens
                                [EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to