diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index c058cf5fb..918f1b10a 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -50,9 +50,9 @@ cd ../binutils-build
In order for the SBU values listed in the rest of the book
to be of any use, measure the time it takes to build this package from
the configuration, up to and including the first install. To achieve
-this easily, wrap the four commands in a time
-command like this: time { ./configure ... && ...
-&& ... && make install; }.
+this easily, wrap the three commands in a time
+command like this: time { ./configure ... && make
+&& make install; }.
Now prepare Binutils for compilation:
diff --git a/chapter06/automake.xml b/chapter06/automake.xml
index 7a486ded7..d48a53dfd 100644
--- a/chapter06/automake.xml
+++ b/chapter06/automake.xml
@@ -98,7 +98,7 @@ sortas="b-aclocal-&automake-version;">aclocal-&automake-version;Makefile.in files for a package, run this program
in the top-level directory. By scanning the
configure.in file, it automatically finds each
-appropriate Makefile.am file and generate the
+appropriate Makefile.am file and generates the
corresponding Makefile.in file
automake
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index f5a676a8d..7f6c5bff0 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -104,8 +104,8 @@ it, thus making this interpreter a powerful tool
bashbug
-A shell script to help the user compose and mail bug reports
-concerning bash in a standard format
+A shell script to help the user compose and mail standard formatted bug
+reports concerning bash.
bashbug
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 27b369b4e..e6ba783d8 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -68,15 +68,16 @@ cd ../binutils-build
make tooldir=/usr
-Normally, the tooldir (the directory where the executables will
-ultimately be located) is set to $(exec_prefix)/$(target_alias), which
-expands into /usr/i686-pc-linux-gnu.
-Because this is a custom system, this target-specific directory in /usr is not required. This setup would be
-used if the system was used to cross-compile (for example, compiling a
-package on an Intel machine that generates code that can be executed
-on PowerPC machines).
+Normally, the tooldir (the directory where the executables will ultimately
+be located) is set to $(exec_prefix)/$(target_alias). For example, i686
+machines would expand that to /usr/i686-pc-linux-gnu. Because this is a custom
+system, this target-specific directory in /usr is not required. $(exec_prefix)/$(target_alias) would be used if the
+system was used to cross-compile (for example, compiling a package on an Intel
+machine that generates code that can be executed on PowerPC machines).
The test suite for Binutils in this section is
considered critical. Do not skip it under any
diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml
index b16819d6f..d276f6df8 100644
--- a/chapter06/bzip2.xml
+++ b/chapter06/bzip2.xml
@@ -13,7 +13,7 @@
The Bzip2 package contains programs for compressing and decompressing
-files. Compressing text files with bzip2 yield a much better
+files. Compressing text files with bzip2 yields a much better
compression percentage than with the traditional gzip.
@@ -79,8 +79,7 @@ ln -s bzip2 /bin/bzcat
Installed libraries
bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff,
bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless, and bzmore
-libbz2.a, libbz2.so (link to libbz2.so.1.0), libbz2.so.1.0 (link to
-libbz2.so.&bzip2-version;), and libbz2.so.&bzip2-version;
+libbz2.[a,so]
Short Descriptions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index c9afcdc13..f9ff7207d 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -45,7 +45,7 @@ locations of executed binaries—for this reason, hashing is switched
off by passing the +h option to bash.
It is important that all the commands throughout the remainder
-of this chapter and the following chapters be run from within the
+of this chapter and the following chapters are run from within the
chroot environment. If you leave this environment for any reason
(rebooting for example), remember to first mount the proc and
make
-The test suite of Coreutils makes several assumptions about the
-presence of files and users that are not valid this early in the LFS
-build. Therefore, additional items need to be set up before running
-the tests. Skip down to Install the package
if
+The test suite of Coreutils makes several invalid assumptions about the
+presence of system users and groups. Therefore, additional items need to be set
+up before running the tests. Skip down to Install the package
if
not running the test suite.
-Create two dummy groups and a dummy user name:
+Create two dummy groups and a dummy user:
echo "dummy1:x:1000:" >> /etc/group
echo "dummy2:x:1001:dummy" >> /etc/group
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index 7e5ddc97a..8126a11a9 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -7,7 +7,7 @@
Creating Essential Symlinks
-Some programs hard-wire paths to programs which do not yet
+Some programs use hard-wired paths to programs which do not yet
exist. In order to satisfy these programs, create a number of symbolic
links which will be replaced by real files throughout the course of
this chapter after the software has been installed.
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index e7881c982..3a574fee6 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -7,9 +7,8 @@
Creating Directories
-It is time to create some structure in the LFS file system.
-Create a directory tree. Issuing the following commands will create a
-standard tree:
+It is time to create some structure in the LFS file system. Create a
+standard directory tree by issuing the following commands:
install -d /{bin,boot,dev,etc/opt,home,lib,mnt}
install -d /{sbin,srv,usr/local,var,opt}
@@ -43,7 +42,7 @@ as a normal user would do with his or her home directory. The second
mode change makes sure that any user can write to the /tmp and /var/tmp directories, but cannot remove
-other users' files from them. The latter is prohibited by the
+another user's files from them. The latter is prohibited by the
so-called sticky bit,
the highest bit (1) in the 1777
bit mask.
diff --git a/chapter06/devices.xml b/chapter06/devices.xml
index 46a10120f..f16fdb780 100644
--- a/chapter06/devices.xml
+++ b/chapter06/devices.xml
@@ -24,21 +24,22 @@ mknod -m 666 /dev/null c 1 3
Mounting ramfs and Populating /dev
-The ideal way to populate /dev is to mount a ramfs onto /dev, like tmpfs, and create the devices on there
-during each bootup. Since the system has not been booted, it is
-necessary to do what the bootscripts would otherwise do and populate
-/dev. Begin by mounting
-/dev:
+The recommended method of populating the /dev directory with devices is to mount a virtual
+filesystem (such as ramfs or
+tmpfs) on the /dev directory, and allow the devices to be created
+dynamically on that virtual filesystem as they are detected or accessed. This is
+generally done during the boot process. Since this new system has not been
+booted, it is necessary to do what the bootscripts would otherwise do by
+mounting /dev:
mount -n -t ramfs none /dev
-
-Since the Udev package will not be installed until later on in the
-process, create a minimal set of device nodes used for building:
+The Udev package is what actually creates the devices in the /dev directory. Since it will not be installed
+until later on in the process, manually create the minimal set of device nodes
+needed to complete the building of this system:
mknod -m 622 /dev/console c 5 1
mknod -m 666 /dev/null c 1 3
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 15f9eafd3..dae7254c3 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -254,7 +254,7 @@ sortas="b-fsck.ext3">fsck.ext3
mk_cmds
-Converts a table of command names and helps messages into a C
+Converts a table of command names and help messages into a C
source file suitable for use with the libss subsystem library
mk_cmds
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 05e5f50ba..4c13eed95 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -49,9 +49,9 @@ versions of Binutils. Apply the following patch to fix this issue:
patch -Np1 -i ../&gcc-linkonce-patch;
-Apply a sed substitution that will suppress the installation of
-libiberty.a. The version of
-libiberty.a provided by
+Apply a sed substitution that will suppress the
+installation of libiberty.a. The
+version of libiberty.a provided by
Binutils will be used instead:
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
@@ -89,7 +89,7 @@ refer back to them as necessary.
make install
-Some packages expect the C PreProcessor to be installed in the
+Some packages expect the C preprocessor to be installed in the
/lib directory.
To support those packages, create this symlink:
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 247ce2c4f..29949bb22 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -405,8 +405,7 @@ for built-in operations
mtrace
-Reads and interprets a memory trace file and
-ouputs a summary in human-readable format
+Reads and interprets a memory trace file and displays a summary in human-readable format
mtrace
@@ -630,7 +629,7 @@ information about the memory usage of a program
The Name Service Switch libraries,
containing functions for resolving host names, user names, group names,
-aliases, services, protocols, etc
+aliases, services, protocols, etc.
libnss
diff --git a/chapter06/groff.xml b/chapter06/groff.xml
index 2c7a00214..c518fb937 100644
--- a/chapter06/groff.xml
+++ b/chapter06/groff.xml
@@ -173,7 +173,7 @@ files, and reports the groff command including those options<
grolj4
Is a driver for groff that produces output
-in PCL5 format suitable for an HP Laserjet 4 printer
+in PCL5 format suitable for an HP LaserJet 4 printer
grolj4
@@ -296,7 +296,7 @@ within troff or TeX input files into commands understood by TeX or trof
post-grohtml
-Translates the output of GNU troff to html
+Translates the output of GNU troff to HTML
post-grohtml
@@ -304,7 +304,7 @@ within troff or TeX input files into commands understood by TeX or trof
pre-grohtml
-Translates the output of GNU troff to html
+Translates the output of GNU troff to HTML
pre-grohtml
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 311f05150..b0087761e 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -31,7 +31,7 @@ GCC, Glibc, Grep, Make, and Sed
Installation of Gzip
-Gzip has 2 known security vulnerabilites. The following patch
+Gzip has 2 known security vulnerabilities. The following patch
addresses both of them:
patch -Np1 -i ../&gzip-security_fix-patch;
@@ -55,7 +55,9 @@ that the new location gets placed into the script:
make install
-Move the programs to the /bin directory:
+Move the gzipprogram to the /bin directory and create some commonly used
+symlinks to it:
mv /usr/bin/gzip /bin
rm /usr/bin/{gunzip,zcat}
diff --git a/chapter06/hotplug.xml b/chapter06/hotplug.xml
index c516161ec..582a3f239 100644
--- a/chapter06/hotplug.xml
+++ b/chapter06/hotplug.xml
@@ -82,7 +82,8 @@ that reason, remove the network hotplug agent:
hotplug
This script is called by default by the Linux kernel when something
-changes in its internal state (e.g., a new device is added or removed)
+changes in its internal state (e.g., a new device is added or an existing device
+is removed)
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index 05a92f2fc..bf79aced1 100644
--- a/chapter06/iproute2.xml
+++ b/chapter06/iproute2.xml
@@ -112,7 +112,7 @@
ifstat
- Shows the interfaces statistic, including the amount of transmitted
+ Shows the interface statistics, including the amount of transmitted
and received packages by interface
ifstat
diff --git a/chapter06/make.xml b/chapter06/make.xml
index 16e9bf626..674d39fd6 100644
--- a/chapter06/make.xml
+++ b/chapter06/make.xml
@@ -12,7 +12,7 @@
Make
-The Make package contains a program for compiling large packages.
+The Make package contains a program for compiling packages.
&buildtime;
diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml
index 49bbb9216..cc7de31fe 100644
--- a/chapter06/module-init-tools.xml
+++ b/chapter06/module-init-tools.xml
@@ -80,14 +80,6 @@ automatically load the required modules
-
-genksyms
-
-Generates symbol version information
-genksyms
-
-
-
insmod
@@ -96,35 +88,12 @@ automatically load the required modules
-
-insmod_ksymoops_clean
+
+insmod.static
-Deletes saved ksyms and modules not accessed for two days
-insmod_ksymoops_clean
-
-
-
-
-kallsyms
-
-Extracts all kernel symbols for debugging
-kallsyms
-
-
-
-
-kernelversion
-
-Reports the major version of the running kernel
-kernelversion
-
-
-
-
-ksyms
-
-Displays exported kernel symbols
-ksyms
+A static version of insmod
+insmod.static
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 00f8accfb..4bb925d1d 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -154,8 +154,9 @@ Unicode Character Mappings or Tcl Encoding Files
perl
-Combines some of the best features of C, sed, awk and sh into a
-single swiss-army language
+Combines some of the best features of C, sed,
+awk and sh into a single swiss-army
+language
perl
@@ -299,7 +300,7 @@ files to Perl5 .pm modules
s2p
-Translates sed to Perl
+Translates sed scripts to Perl
s2p
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml
index 990fe976e..0a4e53f4e 100644
--- a/chapter06/pwdgroup.xml
+++ b/chapter06/pwdgroup.xml
@@ -15,8 +15,8 @@
/var/log/wtmp
In order for user root to be able to login
-and for the name root
to be recognized, there need to
-be relevant entries in the /etc/passwd and
+and for the name root
to be recognized, there must be relevant
+entries in the /etc/passwd and
/etc/group files.
Create the /etc/passwd file by running the following
@@ -69,12 +69,12 @@ work.
exec /tools/bin/bash --login +h
-Note the use of the +h directive. This
-tells bash not to use its internal path hashing.
-Without this directive, bash would remember the
-paths to binaries it has executed. In order to use the newly compiled
-binaries as soon as they are installed, turn off this function for the
-duration of this chapter.
+Note the use of the +h directive. This tells
+bash not to use its internal path hashing. Without this
+directive, bash would remember the paths to binaries it has
+executed. In ensure the use of the newly compiled binaries as soon as they are
+installed, the +h directive will be used for the duration
+of this chapter.
The login, agetty, and
init programs (and others) use a number of log
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 1ef68e67b..40f0bd53b 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -68,7 +68,7 @@ location:
mv /lib/lib{readline,history}.a /usr/lib
-Next we will remove the old, .so files in
+Next we will remove the .so files in
/lib and relink them into
/usr/lib.
diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml
index 17798915d..23c54ca45 100644
--- a/chapter06/texinfo.xml
+++ b/chapter06/texinfo.xml
@@ -123,7 +123,7 @@ file
makeinfo
Translates the given Texinfo source documents into
-info files, plain text, or HTML
+Info files, plain text, or HTML
makeinfo
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 752c669b9..073d0a5a4 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -86,7 +86,7 @@ symlink:
ln -s vim /usr/bin/vi
-If the X Window System is going to be installed on the LFS
+If an X Window System is going to be installed on the LFS
system, it may be necessary to recompile Vim after installing X. Vim
comes with a GUI version of the editor that requires X and some
additional libraries to be installed. For more information on this
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml
index 4ed3d9422..93c21e44a 100644
--- a/chapter06/zlib.xml
+++ b/chapter06/zlib.xml
@@ -52,9 +52,10 @@ configure command below, then remove it afterwards.
make install
-Next we will remove the old .so files in
-the /lib directory and relink them
-into /usr/lib:
+The previous command installed a .so file in /lib. We will remove it and relink it into
+/usr/lib:
rm /lib/libz.so
ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so
@@ -83,7 +84,7 @@ make
Installed libraries
-libz[a,so]
+libz.[a,so]
Short Descriptions