From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Michael Date: Wed, 11 Jul 2007 00:59:44 +0000 Subject: Re: RUN Message-Id: <20070711005944.GA836@server> List-Id: References: <4693ECED.9090209@inguin.com> In-Reply-To: <4693ECED.9090209@inguin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > Today you can have only one RUN key, it will change some day, but I > never got to finish the smarter rule parsing which will allow any > number of keys in a rule. > > You need to do: > RUN+="/bin/sh -c '/program1; /program2'" > for now. I have misunderstood either the poster's question or the paragraph in "man udev" discussing the RUN key: ----excerpt---- RUN Add a program to the list of programs to be executed for a specific device. This can only be used for very short running tasks. Running an event process for a long period of time may block all further events for this or a dependent device. Long running tasks need to be immediately detached from the event process itself. ----excerpt---- For example, this works: SUBSYSTEM="*", RUN+="/root/udev-catch-remove" ENV{DEVNAME}="/dev/foobar", RUN+="/path/to/prog" Is this only working because the match keys are different? Regards, Richard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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