From 821d0ec803a72841f173739f5b713fe847edab75 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Sat, 2 Apr 2005 17:45:35 +0200 Subject: [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. --- udev.8.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'udev.8.in') diff --git a/udev.8.in b/udev.8.in index 7b061a8c2b..4beab0d355 100644 --- a/udev.8.in +++ b/udev.8.in @@ -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" -- cgit v1.2.3-54-g00ecf