Starting with udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

i'm really new with udev and i was following the writing udev rules to
understand how it works.

What i wanted to do, is to mount and execute a script once a usb device is
plugged.
To test this, i found the line:

KERNEL=="sd*", ACTION=="add", RUN+="/usr/bin/notify-send test test"

I wrote this in a file called 90-test.rules under /etc/udev/rules.d and
restarted udev plugged the usb device and nothing happened.

I'm using the version 151, it's updated with the writing udev rules link or
there's something i'm getting wrong?

Regards
Sal
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux