From mboxrd@z Thu Jan 1 00:00:00 1970 From: Salvatore De Paolis Date: Thu, 11 Mar 2010 08:55:34 +0000 Subject: Starting with udev Message-Id: <20100311095534.637ab0a7@tosh-l20.laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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