From: Martin Pitt Date: Tue, 22 Dec 2009 12:08:23 +0000 (+0100) Subject: Clarify RUN/IMPORT documentation X-Git-Tag: 174~664 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=7729cd2fadbe0a5dd1eea3b81050616431d93af6 Clarify RUN/IMPORT documentation Explain command/argument separation rules, search path, and quoting for RUN and IMPORT. http://bugs.debian.org/550206 --- diff --git a/udev/udev.xml b/udev/udev.xml index ff01fefe5..b6c593341 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 .