udevsend as hotplug multiplexer

Jaime Buffery nestu at espresso.foo-projects.org
Wed Mar 23 11:30:37 UTC 2005


On Wed, Mar 23, 2005 at 07:57:17AM +0100, Jasper Huijsmans wrote:
> Hi nestu,
Hola Jasper, amigo mío ;)
 
> Current udev can also act as hotplug multiplexer instead of 
> /sbin/hotplug, with the added advantage of sending events always in the 
> correct order. Newer HAL versions will even depend on it.
Before I say anything else, I want to make absolutely clear that I have nothing 
against your patch. In fact, I just tried it successfully myself ;)

There is however something I don't understand: AFAIK, it is udevd that orders 
the hotlpug events depending on a kernel sequence number, not the caller. So 
where does udevsend/hotplug benefit come in to play here? Are we removing out of 
order hotplug events? Are we just jumping one step, e.g., making things quicker? 
 
> I use the following patch to the mount script and it does seem to work 
> for me. I don't know if this is the best place, though.
I guess it is, unless we put it in the initscript, and we add it to boot again, 
with some safe booting switch, so it doesn't redo the boot process. Though I 
don't like direct changes in the mount script, I do think it would be the 
best place to stay consistent with the current implementation.
 
> Nothing in moonbase depends on this, so it's not really necessary. But I 
> thought I'd mention it anyway, maybe for the upcoming 2.6 iso... ;-)
Thanks a lot !!!
 
> 	Jasper
Ciao,
Jaime ;))))


More information about the Lunar-dev mailing list