From ddd554266cd757b9da553e430eeb408bf8bbc5c4 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 10 Feb 2006 19:05:30 +0000 Subject: Finished the XML indentation plus few tags changes. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7369 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/udev.xml | 407 +++++++++++++++++++++++++++++------------------------ 1 file changed, 224 insertions(+), 183 deletions(-) (limited to 'chapter06/udev.xml') diff --git a/chapter06/udev.xml b/chapter06/udev.xml index 8b77b1b58..c53977ed2 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -1,217 +1,258 @@ - %general-entities; ]> + -Udev-&udev-version; - + + + Udev-&udev-version; + + + Udev + + + + -<indexterm zone="ch-system-udev"><primary sortas="a-Udev">Udev</primary></indexterm> + <para>The Udev package contains programs for dynamic creation of device + nodes.</para> -<sect2 role="package"><title/> -<para>The Udev package contains programs for dynamic creation of device nodes.</para> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>3.8 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.1 SBU</seg> + <seg>3.8 MB</seg> + </seglistitem> + </segmentedlist> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Coreutils and Make</seg></seglistitem> -</segmentedlist> + <segmentedlist> + <segtitle>&dependencies;</segtitle> -</sect2> + <seglistitem> + <seg>Coreutils and Make</seg> + </seglistitem> + </segmentedlist> -<sect2 role="installation"> -<title>Installation of Udev + -Compile the package: + + Installation of Udev + + Compile the package: make EXTRAS=extras/run_directory -The meaning of the make option: + + The meaning of the make option: + + + EXTRAS=extras/run_directory + + This builds the udev_run_devd and + udev_run_hotplugd binaries, which are required + for correct handling of hotpluggable devices. + + - - - EXTRAS=extras/run_directory - - - This builds the udev_run_devd and - udev_run_hotplugd binaries, which are required for - correct handling of hotpluggable devices. - - - - + -To test the results, issue: -make test. + To test the results, issue: + make test. -Install the package: + Install the package: make DESTDIR=/ EXTRAS=extras/run_directory install -The meaning of the make option: + + The meaning of the make parameter: - - - DESTDIR=/ - - - This prevents the Udev build process from killing any - udevd processes that may be running on the host - system. - - - - + + DESTDIR=/ + + This prevents the Udev build process from killing any + udevd processes that may be running on the + host system. + + -Udev's configuration is far from ideal by default, so install -the configuration files here: + + + Udev's configuration is far from ideal by default, so install + the configuration files here: cp -v ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules -Install the documentation that explains how to create Udev rules: + Install the documentation that explains how to create Udev rules: install -m644 -D -v docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html - - -Run the udevstart program to create our full -complement of device nodes. + + + Run the udevstart program to create our full + complement of device nodes. /sbin/udevstart - - -Contents of Udev - - -Installed programs -Installed directory -udev, udev_run_devd, udev_run_hotplugd, udevcontrol, udevd, -udevinfo, udevmonitor, udevsend, udevstart, and udevtest -/etc/udev - - -Short Descriptions - - - - -udev - -Creates device nodes in /dev or renames network interfaces (not -in LFS) in response to hotplug events -udev - - - - udev_run_devd - - Executes programs and scripts in the - /etc/dev.d/ directory in response - to hotplug events - - - udev_run_devd - - - - - - udev_run_hotplugd - - Executes programs and scripts in the - /etc/hotplug.d/ directory in - response to hotplug events - - - udev_run_hotplugd - - - - - -udevcontrol - -Configures a number of options for the running udevd -daemon, such as the log level. -udevcontrol - - - - -udevd - -A daemon that reorders hotplug events before submitting them to -udev, -thus avoiding various race conditions -udevd - - - -udevinfo - -Allows users to query the udev database for -information on any device currently present on the system; it also -provides a way to query any device in the sysfs tree to help create udev -rules -udevinfo - - - -udevmonitor - -Prints the event received from the kernel and the event which -udev sends out after rule processing -udevmonitor - - - - -udevsend - -Delivers hotplug events to udevd -udevsend - - - -udevstart - -Creates device nodes in /dev that correspond to drivers compiled directly -into the kernel; it performs that task by simulating hotplug events presumably -dropped by the kernel before invocation of this program (e.g., because the root -filesystem has not been mounted) and submitting such synthetic hotplug events -to udev -udevstart - - - - -udevtest - -Simulates a udev run for the given device, -and prints out the name of the node the real udev would -have created or (not in LFS) the name of the renamed network interface -udevtest - - - -/etc/udev - -Contains udev configuation files, -device permissions, and rules for device naming -/etc/udev - - - + + + + Contents of Udev + + + Installed programs + Installed directory + + + udev, udev_run_devd, udev_run_hotplugd, udevcontrol, udevd, + udevinfo, udevmonitor, udevsend, udevstart, and udevtest + /etc/udev + + + + + Short Descriptions + + + + + udev + + Creates device nodes in /dev + or renames network interfaces (not in LFS) in response to hotplug + events + + udev + + + + + + udev_run_devd + + Executes programs and scripts in the /etc/dev.d/ directory in response to + hotplug events + + udev_run_devd + + + + + + udev_run_hotplugd + + Executes programs and scripts in the /etc/hotplug.d/ directory in response + to hotplug events + + udev_run_hotplugd + + + + + + udevcontrol + + Configures a number of options for the running + udevd daemon, such as the log level. + + udevcontrol + + + + + + udevd + + A daemon that reorders hotplug events before submitting them to + udev, thus avoiding various race conditions + + udevd + + + + + + udevinfo + + Allows users to query the udev database for + information on any device currently present on the system; it also + provides a way to query any device in the sysfs tree to help create udev + rules + + udevinfo + + + + + + udevmonitor + + Prints the event received from the kernel and the event which + udev sends out after rule processing + + udevmonitor + + + + + + udevsend + + Delivers hotplug events to udevd + + udevsend + + + + + + udevstart + + Creates device nodes in /dev + that correspond to drivers compiled directly into the kernel; it + performs that task by simulating hotplug events presumably dropped by + the kernel before invocation of this program (e.g., because the root + filesystem has not been mounted) and submitting such synthetic hotplug + events to udev + + udevstart + + + + + + udevtest + + Simulates a udev run for the given device, + and prints out the name of the node the real udev + would have created or (not in LFS) the name of the renamed network + interface + + udevtest + + + + + + /etc/udev + + Contains udev configuation files, + device permissions, and rules for device naming + + /etc/udev + + + + + + + - -- cgit v1.2.3-54-g00ecf