Linux Hotplug development
 help / color / mirror / Atom feed
* Starting with udev
@ 2010-03-11  8:55 Salvatore De Paolis
  2010-03-11  9:33 ` Kay Sievers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Salvatore De Paolis @ 2010-03-11  8:55 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-12 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11  8:55 Starting with udev Salvatore De Paolis
2010-03-11  9:33 ` Kay Sievers
2010-03-12 15:39 ` Salvatore De Paolis
2010-03-12 15:53 ` Kay Sievers
2010-03-12 16:57 ` Salvatore De Paolis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox