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 ?


Azhdeen


--
[EMAIL PROTECTED] mailing list

Reply via email to