<snip> >> >> In udev I would use the RUN+=... argument in the udev rule, but I'm >> looking for an alternativ. > > You can run whatever code you want when a device is attatched or > detattched with mdev. > > /etc/mdev.conf: > > sd[a-z][0-9]* root:disk 0660 */usr/local/bin/newusbdisk.sh > > > Wil execute /usr/local/bin/newusbdisk.sh every time an usbdisk is either > attatched or detached. > > Thanks. I (as you probably guessed) didn't know that :-)
/peter -- [email protected] mailing list
