Ignore:
Timestamp:
03/14/2005 06:40:47 AM (19 years ago)
Author:
Jim Gifford <jim@…>
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.1, 6.1.1, 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:
981a1969
Parents:
d1999f8
Message:

Hotplug Updates

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4751 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/hotplug.xml

    rd1999f8 r6d87f47  
    5050
    5151<screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
     52
     53<para>For logging of hotplug events we will create a directory and a
     54blank file. This file will show all the information passed to hotplug:</para>
     55
     56<screen><userinput>mkdir /var/log/hotplug
     57touch /var/log/hotplug/events</userinput></screen>
     58
     59<para>For firmware to be loaded by hotplug we will create the necessary
     60directory:</para>
     61
     62<screen><userinput>mkdir /lib/firmware</userinput></screen>
     63
    5264</sect2>
    5365
     
    6274<seg>/etc/hotplug/*.rc, /etc/hotplug/*.agent</seg>
    6375<seg>/etc/hotplug/hotplug.functions, /etc/hotplug/blacklist, /etc/hotplug/{pci,usb},
    64 /etc/hotplug/usb.usermap, /etc/hotplug.d</seg></seglistitem>
     76/etc/hotplug/usb.usermap, /etc/hotplug.d, /var/log/hotplug/events</seg></seglistitem>
    6577</segmentedlist>
    6678
     
    152164</varlistentry>
    153165
     166<varlistentry id="hotplug-events">
     167<term><filename>/var/log/hotplug/events</filename></term>
     168<listitem>
     169<indexterm zone="ch-system-hotplug events"><primary
     170sortas="e-/var/log/hotplug/events">/var/log/hotplug/events</primary></indexterm>
     171<para>This file contains all the events since bootup that hotplug has called.
     172</para>
     173</listitem>
     174</varlistentry>
     175
    154176<varlistentry id="hotplug-hotplug.d">
    155177<term><filename class="directory">/etc/hotplug.d</filename></term>
     
    163185</listitem>
    164186</varlistentry>
     187
     188<varlistentry id="hotplug-firmware">
     189<term><filename class="directory">/lib/firmware</filename></term>
     190<listitem>
     191<indexterm zone="ch-system-hotplug hotplug-firmware"><primary
     192sortas="e-/lib/firmware">/lib/firmware</primary></indexterm>
     193<para>This directory contains the firmware for devices that
     194need to have there firmware loaded before use.
     195</para>
     196</listitem>
     197</varlistentry>
     198
    165199</variablelist>
    166200</sect2>
Note: See TracChangeset for help on using the changeset viewer.