diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-06-19 12:04:20 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-06-19 12:04:20 +0000 |
commit | ef57e3bcf1a7fb7eda2717fc2334fe599da01888 (patch) | |
tree | 2dfab531417a3727241a1770352ef10adda89493 /chapter06/hotplug.xml | |
parent | 3042296e6f99f7795884e3bf6ca8a8a646488912 (diff) |
Amplied the Index entries for Hotplug and Linux-Libc-Headers.
Tags corrections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3811 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/hotplug.xml')
-rw-r--r-- | chapter06/hotplug.xml | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/chapter06/hotplug.xml b/chapter06/hotplug.xml index 411421a5b..18b57e7be 100644 --- a/chapter06/hotplug.xml +++ b/chapter06/hotplug.xml @@ -29,7 +29,7 @@ modules into the running kernel. <para> Apply the patch that avoids bogus dependencies of the -<filename>usb.rc</filename> script +<command>usb.rc</command> script upon <application>which</application> and <application>usbutils</application> packages: </para> @@ -45,18 +45,18 @@ following patch: <para> At last, there is an optional patch that adds ISAPNP hardware detection -capabilities to hotplug. It is not well tested. If you chose to apply it, +capabilities to Hotplug. It is not well tested. If you chose to apply it, run the following command: </para> <screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-isapnp-2.patch</userinput></screen> -<para>And finally install the hotplug package:</para> +<para>And finally install the Hotplug package:</para> <screen><userinput>make install</userinput></screen> -<para>Remove hotplug's not-so-clean init script, since we're going to be using +<para>Remove Hotplug's not-so-clean init script, since we're going to be using the script including with LFS-Bootscripts:</para> <screen><userinput>rm -rf /etc/init.d</userinput></screen> @@ -65,7 +65,7 @@ the script including with LFS-Bootscripts:</para> If you have applied the ISAPNP patch, add some required entries to <filename>/etc/modprobe.conf</filename>:</para> -<screen><userinput>cat >>/etc/modprobe.conf <<"EOF"</userinput> +<screen><userinput>cat >>/etc/modprobe.conf <<"EOF" # Begin /etc/modprobe.conf entries for ISAPNP hardware detection script # by Marco d'Itri alias pnp:dPNP0511 irtty-sir @@ -76,7 +76,7 @@ alias pnp:dPNP0303 atkbd alias pnp:dPNP0F13 psmouse alias pnp:dPNPB02F analog # End /etc/modprobe.conf entries for ISAPNP hardware detection script -<userinput>EOF</userinput></screen> +EOF</userinput></screen> <para>These entries may become unneded for newer versions of Linux kernel, since Marco d'Itri will try to convince developers to put them into the @@ -94,7 +94,7 @@ corresponding modules themselves.</para> <indexterm zone="ch-system-hotplug hotplug"><primary sortas="b-hotplug">hotplug</primary></indexterm> <para>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).</para> +changes in its internal state (e.g., a new device is added or removed).</para> </listitem> </varlistentry> @@ -102,7 +102,9 @@ changes in its internal state (e.g. a new device is added or removed).</para> <term><command>*.rc</command> files in <filename class="directory">/etc/hotplug</filename> directory</term> <listitem> -<para>These scripts are used for cold plugging, i.e. detection and other +<indexterm zone="ch-system-hotplug hotplug-rc"><primary +sortas="e-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm> +<para>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 <filename>hotplug</filename> initscript that comes from the lfs-bootscripts package. @@ -117,6 +119,8 @@ them into the running kernel. <term><command>*.agent</command> files in <filename class="directory">/etc/hotplug</filename> directory</term> <listitem> +<indexterm zone="ch-system-hotplug hotplug-agent"><primary +sortas="e-/etc/hotplug/*.agent">/etc/hotplug/*.agent</primary></indexterm> <para>These scripts are called by <command>/sbin/hotplug</command> in response to different types of hotplug events generated by the kernel. Their action is to insert corresponding kernel modules and call user-provided @@ -128,7 +132,9 @@ scripts, if any. <varlistentry id="hotplug-functions"> <term><filename>/etc/hotplug/hotplug.functions</filename></term> <listitem> -<para>This file contains common functions used by other scripts in hotplug +<indexterm zone="ch-system-hotplug hotplug-functions"><primary +sortas="e-/etc/hotplug/hotplug.functions">/etc/hotplug/hotplug.functions</primary></indexterm> +<para>This file contains common functions used by other scripts in Hotplug package. </para> </listitem> @@ -148,6 +154,8 @@ inserted into the kernel by hotplug scripts. <varlistentry id="hotplug-subdirs"> <term><filename class="directory">/etc/hotplug/{pci,usb}</filename></term> <listitem> +<indexterm zone="ch-system-hotplug hotplug-subdirs"><primary +sortas="e-/etc/hotplug/{pci,usb}">/etc/hotplug/{pci,usb}</primary></indexterm> <para>These directories are supposed to contain user-written handlers for hotplug events. </para> @@ -168,6 +176,8 @@ call for each USB device, based on its vendor, id and other attributes. <varlistentry id="hotplug-hotplug.d"> <term><filename class="directory">/etc/hotplug.d</filename></term> <listitem> +<indexterm zone="ch-system-hotplug hotplug-hotplug.d"><primary +sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm> <para>This directory contains programs (or symlinks to them) that are interested in receiving all hotplug events. E.g., <application>udev</application> puts its symlink here during installation. |