linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DEVLINKS and DEVNAME variables in RUN rules
@ 2006-01-24 16:24 Olivier Blin
  2006-01-24 18:05 ` Andrey Borzenkov
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Olivier Blin @ 2006-01-24 16:24 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I'd like to use the DEVNAME and DEVLINKS (thanks Kay) environment
variables in a RUN rule. Unfortunately, they're not exported yet when
the command to be executed is computed (i.e. when the format is
applied). So, for now, I'm using a dumb trick:
RUN+="/bin/sh -c '/sbin/pam_console_setowner $$DEVICE $$DEVNAME $$DEVLINKS'"

Would it be possible to have the format applied right before the RUN
command is run?

Regards

-- 
Olivier Blin - Mandriva



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-01-26  1:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-01-26  1:18 ` Kay Sievers

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).