From 7729cd2fadbe0a5dd1eea3b81050616431d93af6 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 22 Dec 2009 13:08:23 +0100 Subject: [PATCH] Clarify RUN/IMPORT documentation Explain command/argument separation rules, search path, and quoting for RUN and IMPORT. http://bugs.debian.org/550206 --- udev/udev.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/udev/udev.xml b/udev/udev.xml index ff01fefe..b6c59334 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -347,12 +347,18 @@ is specified, and the executed program returns non-zero, the event will be marked as failed for a possible later handling. + If no path is given, the program must be in + /lib/udev, otherwise the full path must be + specified. If the specified string starts with , all current event values will be passed to the specified socket, as a message in the same format the kernel sends an uevent. If the first character of the specified path is an @ character, an abstract namespace socket is used, instead of an existing socket file. + Program name and arguments are separated with spaces. To + include spaces in an argument, use single quotes. Please note + that this does not run through a shell. @@ -380,7 +386,9 @@ Execute an external program specified as the assigned value and - import its output, which must be in environment key format. + import its output, which must be in environment key + format. Path specification, command/argument separation, + and quoting work like in . -- 2.39.5