linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@mail.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: DEVLINKS and DEVNAME variables in RUN rules
Date: Wed, 25 Jan 2006 19:38:19 +0000	[thread overview]
Message-ID: <200601252238.22382.arvidjaar@mail.ru> (raw)
In-Reply-To: <m3bqy1a91w.fsf@dynamo.mandriva.com>


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]

On Wednesday 25 January 2006 22:10, Kay Sievers wrote:
> Hehe, no, as mentioned in the last mail,

too late :)

> we can't patch the created man 
> page, it comes from "docs/udev.xml".

Why is it verion-controlled then?

> I don't mind putting it in there myself, but if you want to send a new
> patch, go for it. :)

third attempt. I do not mind, I practice (st-)git on your expense :) This time 
attached due to overly long lines.

-andrey

[-- Attachment #1.2: document_subst_rules.diff --]
[-- Type: text/x-diff, Size: 1361 bytes --]

Subject: [PATCH] Document when substitutions are applied for RUN and other keys

From: Andrey Borzenkov <arvidjaar@mail.ru>



Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
---

 docs/udev.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/docs/udev.xml b/docs/udev.xml
index 7e29077..c94bdcd 100644
--- a/docs/udev.xml
+++ b/docs/udev.xml
@@ -353,8 +353,13 @@
           </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. For
+          <option>RUN</option> they are applied immediately before program
+          is launched, after all rules have been processed. It allows use of
+          complete environment set up by earlier rules including exported
+          variables. For all other fields substitutions are applied when rule
+          is being processed. The supported substitutions are:</para>
           <variablelist>
             <varlistentry>
               <term><option>$kernel</option>, <option>%k</option></term>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-01-25 19:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-24 16:24 DEVLINKS and DEVNAME variables in RUN rules Olivier Blin
2006-01-24 18:05 ` Andrey Borzenkov
2006-01-24 19:43 ` Kay Sievers
2006-01-25 18:18 ` Andrey Borzenkov
2006-01-25 18:25 ` Olivier Blin
2006-01-25 18:52 ` Kay Sievers
2006-01-25 19:03 ` Andrey Borzenkov
2006-01-25 19:10 ` Kay Sievers
2006-01-25 19:38 ` Andrey Borzenkov [this message]
2006-01-26  1:18 ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601252238.22382.arvidjaar@mail.ru \
    --to=arvidjaar@mail.ru \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).