From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 24 Aug 2005 20:05:12 +0000 Subject: Re: udevsynthesize as a udevstart+coldplug replacement Message-Id: <20050824200512.GA10689@vrfy.org> 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 On Wed, Aug 24, 2005 at 09:52:42PM +0200, Olivier Blin wrote: > Kay Sievers writes: > > > As pinted out earlier, it's a very different approch with complete > > different problems to do it async. > > Yes, it's the one you've described in reply to my posts, but you > haven't said you would implement it :-) It took only a long night. :) > >> I'd still like a --disable-bus= option so that distro vendors can > >> forbid bus coldplug they don't like. > >> I'm not sure most distro are ready to have udevstart automatically > >> load modules on the pci bus. For example network and sound drivers are > >> often handled separately. > >> Should I take care of this patch? > > > > _Not_ handling these events is just a special case of handling it, so a > > rule can prevent the event from doing anything. I prefer a single source of > > policy as long as this is possible. > > 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. :) Thanks, Kay ------------------------------------------------------- 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