- Timestamp:
- 06/20/2005 05:31:31 PM (19 years ago)
- Branches:
- 6.1, 6.1.1
- Children:
- 816f430
- Parents:
- a0bf931
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/hotplug.xml
ra0bf931 r4ffc6a2 26 26 <segmentedlist> 27 27 <segtitle>&dependencies;</segtitle> 28 <seglistitem><seg> bash, coreutils, find, gawk, make</seg></seglistitem>28 <seglistitem><seg>Bash, Coreutils, Find, Gawk, and Make</seg></seglistitem> 29 29 </segmentedlist> 30 30 </sect2> … … 39 39 <para>Copy a file that the <quote>install</quote> target omits.</para> 40 40 41 <screen><userinput>cp etc/hotplug/pnp.distmap /etc/hotplug</userinput></screen> 41 <screen><userinput>cp etc/hotplug/pnp.distmap /etc/hotplug</userinput></screen> 42 42 43 43 <para>Remove the init script that Hotplug installs, since we're going to be … … 51 51 <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen> 52 52 53 <para>Create a directory for storing firmware that can be loaded by 53 <para>Create a directory for storing firmware that can be loaded by 54 54 <command>hotplug</command>:</para> 55 55 … … 66 66 <seglistitem><seg>hotplug</seg> 67 67 <seg>/etc/hotplug/*.rc, /etc/hotplug/*.agent</seg> 68 <seg>/etc/hotplug/hotplug.functions, /etc/hotplug/blacklist, /etc/hotplug/{pci,usb}, 68 <seg>/etc/hotplug/hotplug.functions, /etc/hotplug/blacklist, /etc/hotplug/{pci,usb}, 69 69 /etc/hotplug/usb.usermap, /etc/hotplug.d, /var/log/hotplug/events</seg></seglistitem> 70 70 </segmentedlist> … … 79 79 <term><command>hotplug</command></term> 80 80 <listitem> 81 <indexterm zone="ch-system-hotplug hotplug"><primary82 sortas="b-hotplug">hotplug</primary></indexterm>83 81 <para>This script is called by default by the Linux kernel when something 84 82 changes in its internal state (e.g., a new device is added or an existing device 85 83 is removed)</para> 84 <indexterm zone="ch-system-hotplug hotplug"><primary 85 sortas="b-hotplug">hotplug</primary></indexterm> 86 86 </listitem> 87 87 </varlistentry> … … 90 90 <term><command>/etc/hotplug/*.rc</command></term> 91 91 <listitem> 92 <indexterm zone="ch-system-hotplug hotplug-rc"><primary93 sortas="d-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm>94 92 <para>These scripts are used for cold plugging, i.e., detecting and acting upon 95 93 hardware already present during system startup. They are called by the … … 98 96 were lost during system boot because, for example, the root filesystem was not 99 97 mounted by the kernel</para> 98 <indexterm zone="ch-system-hotplug hotplug-rc"><primary 99 sortas="d-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm> 100 100 </listitem> 101 101 </varlistentry> … … 104 104 <term><command>/etc/hotplug/*.agent</command></term> 105 105 <listitem> 106 <indexterm zone="ch-system-hotplug hotplug-agent"><primary107 sortas="d-/etc/hotplug/*.agent">/etc/hotplug/*.agent</primary></indexterm>108 106 <para>These scripts are called by <command>hotplug</command> 109 107 in response to different types of hotplug events generated by the kernel. 110 108 Their action is to insert corresponding kernel modules and call any 111 109 user-provided scripts</para> 110 <indexterm zone="ch-system-hotplug hotplug-agent"><primary 111 sortas="d-/etc/hotplug/*.agent">/etc/hotplug/*.agent</primary></indexterm> 112 112 </listitem> 113 113 </varlistentry> … … 116 116 <term><filename>/etc/hotplug/blacklist</filename></term> 117 117 <listitem> 118 <para>This file contains the list of modules that should never be inserted into 119 the kernel by the Hotplug scripts</para> 118 120 <indexterm zone="ch-system-hotplug hotplug-blacklist"><primary 119 121 sortas="e-/etc/hotplug/blacklist">/etc/hotplug/blacklist</primary></indexterm> 120 <para>This file contains the list of modules that should never be inserted into121 the kernel by the Hotplug scripts</para>122 122 </listitem> 123 123 </varlistentry> … … 126 126 <term><filename>/etc/hotplug/hotplug.functions</filename></term> 127 127 <listitem> 128 <para>This file contains common functions used by other scripts in the Hotplug 129 package</para> 128 130 <indexterm zone="ch-system-hotplug hotplug-functions"><primary 129 131 sortas="e-/etc/hotplug/hotplug.functions">/etc/hotplug/hotplug.functions</primary></indexterm> 130 <para>This file contains common functions used by other scripts in the Hotplug131 package</para>132 132 </listitem> 133 133 </varlistentry> … … 136 136 <term><filename class="directory">/etc/hotplug/{pci,usb}</filename></term> 137 137 <listitem> 138 <para>These directories contain user-written handlers for hotplug events</para> 138 139 <indexterm zone="ch-system-hotplug hotplug-subdirs"><primary 139 140 sortas="e-/etc/hotplug/{pci,usb}">/etc/hotplug/{pci,usb}</primary></indexterm> 140 <para>These directories contain user-written handlers for hotplug events</para>141 141 </listitem> 142 142 </varlistentry> … … 145 145 <term><filename>/etc/hotplug/usb.usermap</filename></term> 146 146 <listitem> 147 <para>This file contains rules that determine which user-defined handlers to 148 call for each USB device, based on its vendor ID and other attributes</para> 147 149 <indexterm zone="ch-system-hotplug hotplug-usb.usermap"><primary 148 150 sortas="e-/etc/hotplug/usb.usermap">/etc/hotplug/usb.usermap</primary></indexterm> 149 <para>This file contains rules that determine which user-defined handlers to150 call for each USB device, based on its vendor ID and other attributes</para>151 151 </listitem> 152 152 </varlistentry> … … 155 155 <term><filename class="directory">/etc/hotplug.d</filename></term> 156 156 <listitem> 157 <indexterm zone="ch-system-hotplug hotplug-hotplug.d"><primary158 sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm>159 157 <para>This directory contains programs (or symlinks to them) that are interested 160 158 in receiving hotplug events. For example, <application>Udev</application> puts 161 159 its symlink here during installation</para> 160 <indexterm zone="ch-system-hotplug hotplug-hotplug.d"><primary 161 sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm> 162 162 </listitem> 163 163 </varlistentry> … … 166 166 <term><filename class="directory">/lib/firmware</filename></term> 167 167 <listitem> 168 <para>This directory contains the firmware for devices that need to have their 169 firmware loaded before use</para> 168 170 <indexterm zone="ch-system-hotplug hotplug-firmware"><primary 169 171 sortas="e-/lib/firmware">/lib/firmware</primary></indexterm> 170 <para>This directory contains the firmware for devices that need to have their171 firmware loaded before use</para>172 172 </listitem> 173 173 </varlistentry> … … 176 176 <term><filename>/var/log/hotplug/events</filename></term> 177 177 <listitem> 178 <para>This file contains all the events that <command>hotplug</command> has 179 called since bootup</para> 178 180 <indexterm zone="ch-system-hotplug hotplug-events"><primary 179 181 sortas="e-/var/log/hotplug/events">/var/log/hotplug/events</primary></indexterm> 180 <para>This file contains all the events that <command>hotplug</command> has181 called since bootup</para>182 182 </listitem> 183 183 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.