From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Blin Date: Wed, 24 Aug 2005 20:42:35 +0000 Subject: Re: udevsynthesize as a udevstart+coldplug replacement Message-Id: List-Id: References: <20050823191542.GA29091@vrfy.org> In-Reply-To: <20050823191542.GA29091@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers writes: >> One may want to handle USB hotplugging, but not USB coldplugging. >> I don't think there is a solution to differentiate hotplug from >> coldplug in udev rules (but maybe I'm missing something). > > In the same way you can recognize udevstart by finding UDEV_START in > the environment, you will find UDEV_SYNTHESIZE in the env. :) Oh right, then we can simply use something like ENV{UDEV_SYNTHESIZE}="" to handle real hotplug only. Thanks -- Olivier Blin Mandriva Mandrakesoft becomes Mandriva ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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