diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-04-02 17:45:35 +0200 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:55:00 -0700 |
commit | 821d0ec803a72841f173739f5b713fe847edab75 (patch) | |
tree | 4866ffc8b8c367cd6e62fd0616fffde01757e3e7 /udev.8.in | |
parent | e03a196a0d0680868ea230ab8f8d100ee90d0fa4 (diff) |
[PATCH] add RUN key to be able to run rule based notification
SUBSYSTEM=="block", RUN="/sbin/program"
will execute the program only for block device events.
ACTION="remove", SUBSYSTEM=="block", RUN"/sbin/program"
will execute the program, if a block device is removed.
Diffstat (limited to 'udev.8.in')
-rw-r--r-- | udev.8.in | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -111,6 +111,9 @@ Match the kernel device name. .B SUBSYSTEM Match the kernel subsystem name. .TP +.B ACTION +Match the kernel action name. +.TP .B DRIVER Match the kernel driver name. .TP @@ -170,6 +173,9 @@ distribution provided rules file. The permissions for the device node. Every specified value overwrites the compiled-in default value. .TP +.B RUN +Add a program to the list of programs to be executed for a specific device. +.TP .B OPTIONS .B last_rule will be the last rule applied. No later rules will have any effect. @@ -234,6 +240,9 @@ The node name of the parent device. .BI %s{ filename } The content of a sysfs attribute. .TP +.B %r +The udev_root value. +.TP .B %e If a device node already exists with the name, the smallest positive decimal integer N is substituted such that the resulting name doesn't @@ -344,6 +353,9 @@ config file. .B UDEV_LOG Overrides the log priority specified in the config file. .TP +.B UDEV_RUN +If set to "0", it disables the execution of programs added by rules. +.TP .B UDEV_NO_DEVD The default behavior of .B udev @@ -356,7 +368,6 @@ will skip this step. .nf /sbin/udev udev program /etc/udev/* udev config files -/etc/hotplug.d/default/udev.hotplug hotplug symlink to udev program /etc/dev.d/* programs invoked by udev .fi .SH "SEE ALSO" |