Udev in b6_0: b+b || ! b+b

Chris Lingard chris at stockwith.co.uk
Tue Jun 1 11:00:06 PDT 2004

Alexander E. Patrakov wrote:

> The proposed solution is to fix this broken assumption. The kernel
> should not call /sbin/hotplug at all if userspace is not ready. To
> achieve this, edit /usr/src/linux/kernel/kmod.c, line 50:
> - char modprobe_path[256] = "/sbin/modprobe";
> + char modprobe_path[256] = "";
> We should also tell the kernel that we are ready, in
> /etc/rc.d/init.d/hotplug script. To do that, add the following line at
> the beginning of the "start" commands:
> echo "/sbin/hotplug" >/proc/sys/kernel/hotplug


I think this is excellent; we learn a lot from things like this; and
it adds huge value to the book and the project.


More information about the lfs-dev mailing list