Changeset 3a5ffda
- Timestamp:
- 04/11/2005 06:56:07 PM (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:
- 89ed081
- Parents:
- 2649620
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/hotplug.xml
r2649620 r3a5ffda 55 55 <screen><userinput>touch /var/log/hotplug/events</userinput></screen> 56 56 57 <para>Create a directory for storing firmware that can be loaded by hotplug:</para> 57 <para>Create a directory for storing firmware that can be loaded by 58 <command>hotplug</command>:</para> 58 59 59 60 <screen><userinput>mkdir /lib/firmware</userinput></screen> … … 84 85 sortas="b-hotplug">hotplug</primary></indexterm> 85 86 <para>This script is called by default by the Linux kernel when something 86 changes in its internal state (e.g., a new device is added or removed) .</para>87 changes in its internal state (e.g., a new device is added or removed)</para> 87 88 </listitem> 88 89 </varlistentry> … … 98 99 package. The <command>*.rc</command> scripts try to recover hotplug events that 99 100 were lost during system boot because, for example, the root filesystem was not 100 mounted by the kernel .</para>101 mounted by the kernel</para> 101 102 </listitem> 102 103 </varlistentry> … … 110 111 in response to different types of hotplug events generated by the kernel. 111 112 Their action is to insert corresponding kernel modules and call any 112 user-provided scripts. 113 </para> 113 user-provided scripts</para> 114 114 </listitem> 115 115 </varlistentry> … … 121 121 sortas="e-/etc/hotplug/blacklist">/etc/hotplug/blacklist</primary></indexterm> 122 122 <para>This file contains the list of modules that should never be inserted into 123 the kernel by the hotplug scripts. 124 </para> 123 the kernel by the Hotplug scripts</para> 125 124 </listitem> 126 125 </varlistentry> … … 132 131 sortas="e-/etc/hotplug/hotplug.functions">/etc/hotplug/hotplug.functions</primary></indexterm> 133 132 <para>This file contains common functions used by other scripts in the Hotplug 134 package. 135 </para> 133 package</para> 136 134 </listitem> 137 135 </varlistentry> … … 142 140 <indexterm zone="ch-system-hotplug hotplug-subdirs"><primary 143 141 sortas="e-/etc/hotplug/{pci,usb}">/etc/hotplug/{pci,usb}</primary></indexterm> 144 <para>These directories contain user-written handlers for hotplug events. 145 </para> 142 <para>These directories contain user-written handlers for hotplug events</para> 146 143 </listitem> 147 144 </varlistentry> … … 153 150 sortas="e-/etc/hotplug/usb.usermap">/etc/hotplug/usb.usermap</primary></indexterm> 154 151 <para>This file contains rules that determine which user-defined handlers to 155 call for each USB device, based on its vendor ID and other attributes. 156 </para> 152 call for each USB device, based on its vendor ID and other attributes</para> 157 153 </listitem> 158 154 </varlistentry> … … 165 161 <para>This directory contains programs (or symlinks to them) that are interested 166 162 in receiving hotplug events. For example, <application>Udev</application> puts 167 its symlink here during installation .</para>163 its symlink here during installation</para> 168 164 </listitem> 169 165 </varlistentry> … … 175 171 sortas="e-/lib/firmware">/lib/firmware</primary></indexterm> 176 172 <para>This directory contains the firmware for devices that need to have their 177 firmware loaded before use .</para>173 firmware loaded before use</para> 178 174 </listitem> 179 175 </varlistentry> … … 184 180 <indexterm zone="ch-system-hotplug hotplug-events"><primary 185 181 sortas="e-/var/log/hotplug/events">/var/log/hotplug/events</primary></indexterm> 186 <para>This file contains all the events that hotplug has called since bootup.187 </para>182 <para>This file contains all the events that <command>hotplug</command> has 183 called since bootup</para> 188 184 </listitem> 189 185 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.