mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-09 13:59:51 +01:00
Enable udev to execute programs in /etc/dev.d and /etc/hotplud.d again
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
37953fdc00
commit
8b51e27a24
@ -122,6 +122,13 @@ First a summary, then a detailed log.</para>
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para>October 31, 2005 [matt]: Build udev_run_devd and
|
||||||
|
udev_run_hotplugd and alter the udev rules file so that udev once again executes
|
||||||
|
programs in the /etc/dev.d and /etc/hotplug.d directories (fixes bug 1635).
|
||||||
|
Also change the udev rules to prevent udev from handling the "card" and "dm"
|
||||||
|
devices as these are managed entirely by programs outside of LFS.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem><para>October 29, 2005 [matt]: Upgrade to udev-071</para></listitem>
|
<listitem><para>October 29, 2005 [matt]: Upgrade to udev-071</para></listitem>
|
||||||
|
|
||||||
<listitem><para>October 29, 2005 [matt]: Upgrade to man-pages 2.11.</para>
|
<listitem><para>October 29, 2005 [matt]: Upgrade to man-pages 2.11.</para>
|
||||||
|
@ -403,7 +403,7 @@ url="http://www.linuxfromscratch.org/lfs/download.html#ftp"/>.</para></note>
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Udev Rules Configuration - 5 KB:</term>
|
<term>Udev Rules Configuration - 5 KB:</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><ulink url="http://downloads.linuxfromscratch.org/udev-config-4.rules"/></para>
|
<para><ulink url="http://downloads.linuxfromscratch.org/udev-config-5.rules"/></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -32,19 +32,19 @@
|
|||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
<screen><userinput>make</userinput></screen>
|
<screen><userinput>make EXTRAS=extras/run_directory</userinput></screen>
|
||||||
|
|
||||||
<para>To test the results, issue:
|
<para>To test the results, issue:
|
||||||
<userinput>make test</userinput>.</para>
|
<userinput>make test</userinput>.</para>
|
||||||
|
|
||||||
<para>Install the package:</para>
|
<para>Install the package:</para>
|
||||||
|
|
||||||
<screen><userinput>make install</userinput></screen>
|
<screen><userinput>make EXTRAS=extras/run_directory install</userinput></screen>
|
||||||
|
|
||||||
<para>Udev's configuration is far from ideal by default, so install
|
<para>Udev's configuration is far from ideal by default, so install
|
||||||
the configuration files here:</para>
|
the configuration files here:</para>
|
||||||
|
|
||||||
<screen><userinput>cp -v ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
|
<screen><userinput>cp -v ../udev-config-5.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
|
||||||
|
|
||||||
<para>Install the documentation that explains how to create Udev rules:</para>
|
<para>Install the documentation that explains how to create Udev rules:</para>
|
||||||
|
|
||||||
@ -63,7 +63,8 @@ complement of device nodes.</para>
|
|||||||
<segmentedlist>
|
<segmentedlist>
|
||||||
<segtitle>Installed programs</segtitle>
|
<segtitle>Installed programs</segtitle>
|
||||||
<segtitle>Installed directory</segtitle>
|
<segtitle>Installed directory</segtitle>
|
||||||
<seglistitem><seg>udev, udevcontrol, udevd, udevinfo, udevmonitor, udevsend, udevstart and udevtest</seg>
|
<seglistitem><seg>udev, udev_run_devd, udev_run_hotplugd, udevcontrol, udevd,
|
||||||
|
udevinfo, udevmonitor, udevsend, udevstart and udevtest</seg>
|
||||||
<seg>/etc/udev</seg></seglistitem>
|
<seg>/etc/udev</seg></seglistitem>
|
||||||
</segmentedlist>
|
</segmentedlist>
|
||||||
|
|
||||||
@ -80,6 +81,32 @@ in LFS) in response to hotplug events</para>
|
|||||||
<indexterm zone="ch-system-udev udev"><primary sortas="b-udev">udev</primary></indexterm>
|
<indexterm zone="ch-system-udev udev"><primary sortas="b-udev">udev</primary></indexterm>
|
||||||
</listitem></varlistentry>
|
</listitem></varlistentry>
|
||||||
|
|
||||||
|
<varlistentry id="udev_run_devd">
|
||||||
|
<term><command>udev_run_devd</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>executes programs and scripts in the
|
||||||
|
<filename class="directory">/etc/dev.d/</filename> directory in response
|
||||||
|
to hotplug events
|
||||||
|
</para>
|
||||||
|
<indexterm zone="ch-system-udev udev_run_devd">
|
||||||
|
<primary sortas="b-udev_run_devd">udev_run_devd</primary>
|
||||||
|
</indexterm>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry id="udev_run_hotplugd">
|
||||||
|
<term><command>udev_run_hotplugd</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>executes programs and scripts in the
|
||||||
|
<filename class="directory">/etc/hotplug.d/</filename> directory in
|
||||||
|
response to hotplug events
|
||||||
|
</para>
|
||||||
|
<indexterm zone="ch-system-udev udev_run_hotplugd">
|
||||||
|
<primary sortas="b-udev_run_hotplugd">udev_run_hotplugd</primary>
|
||||||
|
</indexterm>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry id="udevcontrol">
|
<varlistentry id="udevcontrol">
|
||||||
<term><command>udevcontrol</command></term>
|
<term><command>udevcontrol</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user