linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* differences between "PROGRAM" and "RUN" (RUN+) (version 089)
@ 2006-04-10 14:12 Mark Ryden
  2006-04-10 18:01 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Ryden @ 2006-04-10 14:12 UTC (permalink / raw)
  To: linux-hotplug

Hello,

from man udev (of last version,089):

PROGRAM
Call external program. This key is valid if the program returns
  successful. The environment variables of udev are also available
	to the program.The string returned by the program may be
	additionally matched with the RESULT key in the same or
	any later rule.

RUN
  Add a program to the list of programs to be executed for
	a specific device.
	
Can anyone please elaborate a little on the differences between "PROGRAM" and
"RUN" (RUN+) ?

Are the environment variables of udev available when
using "run"?
When must we use RUN (RUN+) and when must we use PROGRAM ?
Are there cases when using RUN or PROGRAN  is both OK?


Regaes,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 14:12 differences between "PROGRAM" and "RUN" (RUN+) (version 089) Mark Ryden
2006-04-10 18:01 ` 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).