From 3f0c882398e626cd92503b1bd964a32e89f818dc Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Tue, 21 Dec 2004 19:38:32 +0000 Subject: Removed the text in chapter 06. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/hotplug.xml | 110 ++------------------------------------------------ 1 file changed, 3 insertions(+), 107 deletions(-) (limited to 'chapter06/hotplug.xml') diff --git a/chapter06/hotplug.xml b/chapter06/hotplug.xml index a702f43a0..3fae29990 100644 --- a/chapter06/hotplug.xml +++ b/chapter06/hotplug.xml @@ -11,12 +11,6 @@ -<para>The Hotplug package contains scripts that react upon hotplug events -generated by the kernel. Such events correspond to every change in the -in the kernel state visible in the "sysfs" filesystem, e.g., the addition and -removal of hardware. This package also detects existing hardware during -boot and inserts the relevant modules into the running kernel. -</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> @@ -32,13 +26,11 @@ boot and inserts the relevant modules into the running kernel. <screen><userinput>make install</userinput></screen> -<para>Remove Hotplug's not-so-clean init script, since we're going to be using -the script including with LFS-Bootscripts:</para> +<para>Remove Hotplug's init script:</para> <screen><userinput>rm -rf /etc/init.d</userinput></screen> -<para>Network device hotplugging is not supported by LFS bootscripts yet. For -that reason, remove the network hotplug agent:</para> +<para>Remove the network hotplug agent:</para> <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen> </sect2> @@ -46,103 +38,7 @@ that reason, remove the network hotplug agent:</para> <sect2 id="contents-hotplug" role="content"><title>Contents of Hotplug - - -/sbin/hotplug - -hotplug -This script is called by default by Linux kernel when something -changes in its internal state (e.g., a new device is added or removed). - - +See testing - -*.rc files in -/etc/hotplug directory - -/etc/hotplug/*.rc -These scripts are used for cold plugging, i.e., detection and other -specific actions upon hardware already present during system startup. -They are called by the hotplug initscript that comes -from the lfs-bootscripts package. -The *.rc -scripts try to recover hotplug events that were lost during system boot -because, e.g., the root filesystem was not mounted by the kernel. - - - - - -*.agent files in -/etc/hotplug directory - -/etc/hotplug/*.agent -These scripts are called by /sbin/hotplug -in response to different types of hotplug events generated by the kernel. -Their action is to insert corresponding kernel modules and call user-provided -scripts, if any. - - - - - -/etc/hotplug/hotplug.functions - -/etc/hotplug/hotplug.functions -This file contains common functions used by other scripts in Hotplug -package. - - - - - -/etc/hotplug/blacklist - -/etc/hotplug/blacklist -This file contains the list of modules that should never be -inserted into the kernel by hotplug scripts. - - - - - -/etc/hotplug/{pci,usb} - -/etc/hotplug/{pci,usb} -These directories are supposed to contain user-written handlers for -hotplug events. - - - - - -/etc/hotplug/usb.usermap - -/etc/hotplug/usb.usermap -This file contains rules that determine which user-defined handlers to -call for each USB device, based on its vendor, id and other attributes. - - - - - -/etc/hotplug.d - -/etc/hotplug.d -This directory contains programs (or symlinks to them) -that are interested in receiving hotplug events. E.g., -udev puts its symlink here during installation. - - - - -- cgit v1.2.3-54-g00ecf