summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@mail.ru>2006-01-26 02:18:01 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-26 02:18:01 +0100
commit864412e02df16555c02da9ccb0a67fddb6628acd (patch)
tree4a54f95ffbf72e279254225d5eac6a942224068f /docs
parent4cfdeaf3bf82b50fb6af123511d2f94078fe7df2 (diff)
man page: document when substitutions are applied for RUN and other keys
Diffstat (limited to 'docs')
-rw-r--r--docs/udev.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/udev.xml b/docs/udev.xml
index 7e29077977..e0542a6be1 100644
--- a/docs/udev.xml
+++ b/docs/udev.xml
@@ -353,8 +353,12 @@
</variablelist>
<para>The <option>NAME</option>, <option>SYMLINK</option>, <option>PROGRAM</option>,
- <option>OWNER</option> and <option>GROUP</option> fields support simple
- printf-like string substitutions:</para>
+ <option>OWNER</option>, <option>GROUP</option> and <option>RUN</option>
+ fields support simple printf-like string substitutions. The <option>RUN</option>
+ format chars gets applied after all rules have been processed, right before the program
+ is executed. It allows the use of the complete environment set by earlier matching
+ rules. For all other fields, substitutions are applied while the individual rule is
+ being processed. The available substitutions are:</para>
<variablelist>
<varlistentry>
<term><option>$kernel</option>, <option>%k</option></term>