Hi !

I'm looking for one small bit of information on hotplug :
        How do I find out what the device just created is ?  (the /dev thing)

otherwise, i'm stuck, i can only plug one thing at a time

my /etc/hotplug/usb/usb-storage script is made of different entries like this
one :
if [ "$PRODUCT" = "ed1/6680/100" ]; then
chmod 777 /mnt/usbkey
mount /dev/sda1 -t vfat -o umask=000 /mnt/usbkey
echo "#!/bin/bash" > $REMOVER
echo "# Generic USB Flash Keyring" >> $REMOVER
echo "umount /mnt/usbkey" >> $REMOVER
echo "rmmod usb-storage" >> $REMOVER
echo "chmod 700 /mnt/usbkey" >> $REMOVER
chmod a+x $REMOVER
fi


and here are all the other variables i could find :
$ACTION, $PRODUCT, $TYPE, $INTERFACE, $DEVICE, $DEVFS
$USB_DEVICE, $USB_DEVICE_VER, $USB_INTERFACE_INFO, $USB_DEVICE_INFO

any hint ? idea ? URL ?
should I drop hotplug and try something else ?





--
http://www.4-SMS.Com
http://eShop.4-SMS.Com
http://Mozilla.4-SMS.Com
-*- If Linux doesn't have the solution, you have the wrong problem -*-



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to