Udev in b6_0: to be or not to be

Jamie Bennett jamie_bennett at pcpmicro.co.uk
Tue Jun 1 09:20:21 PDT 2004


Alexander E. Patrakov wrote on 01 June 2004 17:10
> 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
> 

+1.

Although I'm usually against patching the kernel I see no alternative.

	--	Jamie



More information about the lfs-dev mailing list