From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 03 Jul 2005 21:02:35 +0000 Subject: Re: udev-059 and default.hotplug script Message-Id: <20050703210235.GB4615@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 10:15:34PM +0200, Marco d'Itri wrote: > On Jul 03, Kay Sievers wrote: > > > > > But we need to walk through /sys/devices to catch devices there > > > > for modules-load, ..., right? That is not handled by udevstart > > > > currently. > > > udevstart should walk /sys/bus/*/devices/ to support $MODALIAS (look at > > > my modalias.rc). > > Is there anything else than adding modalias support to udevstart to > > replace what coldplug is doing today? But hey, this also only works > Look at hotplug-light. pnp can trivially get $MODALIAS support and serio > can get it with some effort, but I'm not sure about ide.rc and scsi.rc. > But I see nothing wrong with keeping a few shell coldplug scripts, they > are not a boot bottleneck. I agree, it's fine to do it that way. An alternative to running the scan-scripts and invoke something itself, may be to synthesize events by reading sysfs and pass them as an event to the daemon which will handle it. That way it would be very similar to event-replay and would use the same rules as the normal event. Also events would run in parallel managed by udevd. That may be a nice fallback if the events from initramfs are not available, but similar in operation. What do you think? 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