diff options
author | Archaic <archaic@linuxfromscratch.org> | 2005-07-01 20:39:25 +0000 |
---|---|---|
committer | Archaic <archaic@linuxfromscratch.org> | 2005-07-01 20:39:25 +0000 |
commit | fde4f7de29feb3a867ab572415c2eb7722d3d880 (patch) | |
tree | 7b5999f09e19c8bf5a6d76cce1348238c922a4cb /chapter07 | |
parent | 4d938efaa059430738ff5c7dbae00b42e1b5b7d5 (diff) |
Brought all occurences of LFS-Bootscripts into conformity.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6288 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/bootscripts.xml | 5 | ||||
-rw-r--r-- | chapter07/introduction.xml | 8 | ||||
-rw-r--r-- | chapter07/network.xml | 12 | ||||
-rw-r--r-- | chapter07/udev.xml | 39 |
4 files changed, 31 insertions, 33 deletions
diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml index 186e29730..721b4e909 100644 --- a/chapter07/bootscripts.xml +++ b/chapter07/bootscripts.xml @@ -10,7 +10,8 @@ <indexterm zone="ch-scripts-bootscripts"><primary sortas="a-Bootscripts">Bootscripts</primary></indexterm> <sect2 role="package"><title/> -<para>The LFS-Bootscripts package contains a set of bootscripts.</para> +<para>The LFS-Bootscripts package contains a set of scripts to start/stop the +LFS system at bootup/shutdown.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> @@ -33,7 +34,7 @@ </sect2> -<sect2 id="contents-bootscripts" role="content"><title>Contents of LFS-bootscripts</title> +<sect2 id="contents-bootscripts" role="content"><title>Contents of LFS-Bootscripts</title> <segmentedlist> <segtitle>Installed scripts</segtitle> diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index b4c8ea547..c54d7fdab 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -7,10 +7,10 @@ <title>Introduction</title> <?dbhtml filename="introduction.html"?> -<para>This chapter details how to install the bootscripts and set them up -properly. Most of these scripts will work without modification, but a -few require additional configuration files because they deal with -hardware-dependent information.</para> +<para>This chapter details how to install and configure the LFS-Bootscripts +package. Most of these scripts will work without modification, but a few require +additional configuration files because they deal with hardware-dependent +information.</para> <para>System-V style init scripts are employed in this book because they are widely used. For additional options, a hint detailing the BSD style diff --git a/chapter07/network.xml b/chapter07/network.xml index dbbf283dc..98bb8f7d7 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -54,12 +54,12 @@ Network Interface Card (NIC) during booting of the system. If set to anything but <quote>yes</quote> the NIC will be ignored by the network script and not brought up.</para> -<para>The <envar>SERVICE</envar> variable defines the method of -obtaining the IP address. The LFS bootscripts have a modular IP -assignment format, and creating additional files in the <filename -class="directory">/etc/sysconfig/network-devices/services</filename> -directory allows other IP assignment methods. This is commonly used -for Dynamic Host Configuration Protocol (DHCP), which is addressed in the BLFS book.</para> +<para>The <envar>SERVICE</envar> variable defines the method of obtaining the IP +address. The LFS-Bootscripts package has a modular IP assignment format, and +creating additional files in the <filename +class="directory">/etc/sysconfig/network-devices/services</filename> directory +allows other IP assignment methods. This is commonly used for Dynamic Host +Configuration Protocol (DHCP), which is addressed in the BLFS book.</para> <para>The <envar>GATEWAY</envar> variable should contain the default gateway IP address, if one is present. If not, then comment out diff --git a/chapter07/udev.xml b/chapter07/udev.xml index 5cdd2d363..7b9be92ad 100644 --- a/chapter07/udev.xml +++ b/chapter07/udev.xml @@ -82,27 +82,24 @@ built-in drivers registered with <systemitem class="filesystem">sysfs</systemitem> are available to userspace processes and to <command>udev</command> for device node creation.</para> -<para>The <command>S10udev</command> initscript takes care of creating -these device nodes when Linux is booted. This script starts with -registering <command>/sbin/udevsend</command> as a hotplug event handler. -Hotplug events (discussed below) should not be generated during this -stage, but <command>udev</command> is registered just in case they do -occur. The <command>udevstart</command> program then walks through -the <systemitem class="filesystem">/sys</systemitem> filesystem and -creates devices under <filename class="directory">/dev</filename> that -match the descriptions. For example, -<filename>/sys/class/tty/vcs/dev</filename> contains the string -<quote>7:0</quote> This string is used by <command>udevstart</command> -to create <filename>/dev/vcs</filename> with major number -<emphasis>7</emphasis> and minor <emphasis>0</emphasis>. The names and -permissions of the nodes created under the -<filename class="directory">/dev</filename> directory are configured according -to the rules specified in the files within the -<filename class="directory">/etc/udev/rules.d/</filename> directory. These are -numbered in a similar fashion to the LFS bootscripts. If -<command>udev</command> can't find a rule for the device it is creating, it will -default permissions to <emphasis>660</emphasis> and ownership to -<emphasis>root:root</emphasis>.</para> +<para>The <command>S10udev</command> initscript takes care of creating these +device nodes when Linux is booted. This script starts with registering +<command>/sbin/udevsend</command> as a hotplug event handler. Hotplug events +(discussed below) should not be generated during this stage, but +<command>udev</command> is registered just in case they do occur. The +<command>udevstart</command> program then walks through the <systemitem +class="filesystem">/sys</systemitem> filesystem and creates devices under +<filename class="directory">/dev</filename> that match the descriptions. For +example, <filename>/sys/class/tty/vcs/dev</filename> contains the string +<quote>7:0</quote> This string is used by <command>udevstart</command> to create +<filename>/dev/vcs</filename> with major number <emphasis>7</emphasis> and minor +<emphasis>0</emphasis>. The names and permissions of the nodes created under +the <filename class="directory">/dev</filename> directory are configured +according to the rules specified in the files within the <filename +class="directory">/etc/udev/rules.d/</filename> directory. These are numbered in +a similar fashion to the LFS-Bootscripts package. If <command>udev</command> +can't find a rule for the device it is creating, it will default permissions to +<emphasis>660</emphasis> and ownership to <emphasis>root:root</emphasis>.</para> <para>Once the above stage is complete, all devices that were already present and have compiled-in drivers will be available for use. What |