From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 03 Jul 2005 10:53:17 +0000 Subject: Re: udev-059 and default.hotplug script Message-Id: <20050703105317.GA29352@vrfy.org> List-Id: References: <20050702012817.46255.qmail@web30214.mail.mud.yahoo.com> In-Reply-To: <20050702012817.46255.qmail@web30214.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Jul 03, 2005 at 12:22:42PM +0200, Marco d'Itri wrote: > On Jul 02, Kay Sievers wrote: > > > I hope so: > > ENV{UDEVD_EVENT}="1", RUN+="/sbin/udev_run_hotplugd" > > > > should prevent the hotplug stuff run, if it's not from the kernel. > What about other RUN events? Should each one check for $UDEVD_EVENT? There is no general rule. It depends on your setup and how you organize things on bootup. SUSE does kernel event-replay from initramfs. udevstart and coldplug are not used anymore. udevstart did dev.d/ also with the old udev versions, so only the hotplug.d/ replacement RUN rules you may disable with matching $UDEVD_EVENT. But it may also be possible to modify udevstart to replace coldplug. Don't know, you may have a better view, if this is possible? Btw: The next major udev version will depend on kernel 2.6.12 and will support fast node creation in the udev daemon itself. _Simple_ rules will be able to handled by the daemon itself. That will hopefully make event-replay fast and easy and be a better approach than udevstart and coldplug. Thanks, Kay ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ 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