Changeset 2541f73
- Timestamp:
- 06/19/2005 08:19:25 AM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 9b9666d
- Parents:
- 74441fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/hotplug.xml
r74441fc r2541f73 80 80 <term><command>hotplug</command></term> 81 81 <listitem> 82 <indexterm zone="ch-system-hotplug hotplug"><primary83 sortas="b-hotplug">hotplug</primary></indexterm>84 82 <para>This script is called by default by the Linux kernel when something 85 83 changes in its internal state (e.g., a new device is added or an existing device 86 84 is removed)</para> 85 <indexterm zone="ch-system-hotplug hotplug"><primary 86 sortas="b-hotplug">hotplug</primary></indexterm> 87 87 </listitem> 88 88 </varlistentry> … … 91 91 <term><command>/etc/hotplug/*.rc</command></term> 92 92 <listitem> 93 <indexterm zone="ch-system-hotplug hotplug-rc"><primary94 sortas="d-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm>95 93 <para>These scripts are used for cold plugging, i.e., detecting and acting upon 96 94 hardware already present during system startup. They are called by the … … 99 97 were lost during system boot because, for example, the root filesystem was not 100 98 mounted by the kernel</para> 99 <indexterm zone="ch-system-hotplug hotplug-rc"><primary 100 sortas="d-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm> 101 101 </listitem> 102 102 </varlistentry> … … 105 105 <term><command>/etc/hotplug/*.agent</command></term> 106 106 <listitem> 107 <indexterm zone="ch-system-hotplug hotplug-agent"><primary108 sortas="d-/etc/hotplug/*.agent">/etc/hotplug/*.agent</primary></indexterm>109 107 <para>These scripts are called by <command>hotplug</command> 110 108 in response to different types of hotplug events generated by the kernel. 111 109 Their action is to insert corresponding kernel modules and call any 112 110 user-provided scripts</para> 111 <indexterm zone="ch-system-hotplug hotplug-agent"><primary 112 sortas="d-/etc/hotplug/*.agent">/etc/hotplug/*.agent</primary></indexterm> 113 113 </listitem> 114 114 </varlistentry> … … 117 117 <term><filename>/etc/hotplug/blacklist</filename></term> 118 118 <listitem> 119 <para>This file contains the list of modules that should never be inserted into 120 the kernel by the Hotplug scripts</para> 119 121 <indexterm zone="ch-system-hotplug hotplug-blacklist"><primary 120 122 sortas="e-/etc/hotplug/blacklist">/etc/hotplug/blacklist</primary></indexterm> 121 <para>This file contains the list of modules that should never be inserted into122 the kernel by the Hotplug scripts</para>123 123 </listitem> 124 124 </varlistentry> … … 127 127 <term><filename>/etc/hotplug/hotplug.functions</filename></term> 128 128 <listitem> 129 <para>This file contains common functions used by other scripts in the Hotplug 130 package</para> 129 131 <indexterm zone="ch-system-hotplug hotplug-functions"><primary 130 132 sortas="e-/etc/hotplug/hotplug.functions">/etc/hotplug/hotplug.functions</primary></indexterm> 131 <para>This file contains common functions used by other scripts in the Hotplug132 package</para>133 133 </listitem> 134 134 </varlistentry> … … 137 137 <term><filename class="directory">/etc/hotplug/{pci,usb}</filename></term> 138 138 <listitem> 139 <para>These directories contain user-written handlers for hotplug events</para> 139 140 <indexterm zone="ch-system-hotplug hotplug-subdirs"><primary 140 141 sortas="e-/etc/hotplug/{pci,usb}">/etc/hotplug/{pci,usb}</primary></indexterm> 141 <para>These directories contain user-written handlers for hotplug events</para>142 142 </listitem> 143 143 </varlistentry> … … 146 146 <term><filename>/etc/hotplug/usb.usermap</filename></term> 147 147 <listitem> 148 <para>This file contains rules that determine which user-defined handlers to 149 call for each USB device, based on its vendor ID and other attributes</para> 148 150 <indexterm zone="ch-system-hotplug hotplug-usb.usermap"><primary 149 151 sortas="e-/etc/hotplug/usb.usermap">/etc/hotplug/usb.usermap</primary></indexterm> 150 <para>This file contains rules that determine which user-defined handlers to151 call for each USB device, based on its vendor ID and other attributes</para>152 152 </listitem> 153 153 </varlistentry> … … 156 156 <term><filename class="directory">/etc/hotplug.d</filename></term> 157 157 <listitem> 158 <indexterm zone="ch-system-hotplug hotplug-hotplug.d"><primary159 sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm>160 158 <para>This directory contains programs (or symlinks to them) that are interested 161 159 in receiving hotplug events. For example, <application>Udev</application> puts 162 160 its symlink here during installation</para> 161 <indexterm zone="ch-system-hotplug hotplug-hotplug.d"><primary 162 sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm> 163 163 </listitem> 164 164 </varlistentry> … … 167 167 <term><filename class="directory">/lib/firmware</filename></term> 168 168 <listitem> 169 <para>This directory contains the firmware for devices that need to have their 170 firmware loaded before use</para> 169 171 <indexterm zone="ch-system-hotplug hotplug-firmware"><primary 170 172 sortas="e-/lib/firmware">/lib/firmware</primary></indexterm> 171 <para>This directory contains the firmware for devices that need to have their172 firmware loaded before use</para>173 173 </listitem> 174 174 </varlistentry> … … 177 177 <term><filename>/var/log/hotplug/events</filename></term> 178 178 <listitem> 179 <para>This file contains all the events that <command>hotplug</command> has 180 called since bootup</para> 179 181 <indexterm zone="ch-system-hotplug hotplug-events"><primary 180 182 sortas="e-/var/log/hotplug/events">/var/log/hotplug/events</primary></indexterm> 181 <para>This file contains all the events that <command>hotplug</command> has182 called since bootup</para>183 183 </listitem> 184 184 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.