Change kernel source to prevent hotplug?

Alexander E. Patrakov patrakov at ums.usu.ru
Sat Sep 11 23:32:36 PDT 2004


Nico R. wrote:
> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> 
> Jörg W Mittag wrote:
> 
> 
>> Laurens Blankers wrote:
> 
> [...]
> 
>>> Is there a way to solve this problem without modifying the kernel
>>>  source?
>> 
>> - install hotplug under a different name, - install hotplug in a
>> different directory, - do not install hotplug at all, - configure
>> your kernel without hotplug, (not 100% sure about this one) - find
>> the "correct" solution and mail it to linux-kernel to get this 
>> issue fixed once and for all.
>> 
>> Anything I missed?
> 
> 
> What about - change hotplug so that it caches all hotplug events
> until some init script runs 'hotplug --replay'. Then hotplug could
> handle those events.
> 
> This may sound reasonable, but I read in some kernel- or
> hotplug-related document that such a method has a downside. Don't ask
> me what's wrong with it, though.

See my initramfs (http://bugs.linuxfromscratch.org/show_bug.cgi?id=868). 
This is quite the opposite approach (make userspace always ready), and 
it doesn't work well.

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list