[RFC] Hotplug inclusion

Zack Winkles winkie at linuxfromscratch.org
Fri May 7 08:37:06 PDT 2004


On Thu, May 06, 2004 at 08:21:51PM -0700, Kevin P. Fleming wrote:
> Alexander E. Patrakov wrote:
> 
> >Sorry, I missed that. But it really should be changed to something more 
> >sane. A reader may want to install the real hotplug package after the 
> >book and he will have to search where we prohibit his hotplug from working.
> 
> True. A better solution than what we are doing now may be to provide a 
> "dummy" hotplug script that does nothing but run /sbin/udev, but would 
> be overwritten if the user installs the real hotplug package.

Do me a favor, and good look at what the bootscript actually does :)
I spy with my little eye:

# When the hotplug package isn't installed, make sure that udev
# still gets hotplug events.
if [ ! -x /sbin/hotplug ]; then
	echo /sbin/udev > /proc/sys/kernel/hotplug
fi




More information about the lfs-dev mailing list