aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-08-29 19:29:31 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-08-29 19:29:31 +0000
commit2b1174bee649fe5f442631a33e2d004bf0317dc7 (patch)
treec1e22d85eb83f342451abc03dcd2ca0b291d1ee0
parent884d51d657245ad3efbe8785747f6c4cea31f8ab (diff)
text updates
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/aboutdebug.xml12
-rw-r--r--chapter06/bzip2-inst.xml4
-rw-r--r--chapter06/config-ldso.xml2
-rw-r--r--chapter06/file-inst.xml7
-rw-r--r--chapter06/glibc-exp.xml6
-rw-r--r--chapter06/glibc-inst.xml10
-rw-r--r--chapter06/ncurses-exp.xml2
-rw-r--r--chapter06/netkitbase-inst.xml2
-rw-r--r--chapter06/nettools-inst.xml7
-rw-r--r--chapter06/procps-exp.xml2
-rw-r--r--chapter06/removeoldnss.xml2
-rw-r--r--chapter06/shadowpwd-exp.xml2
12 files changed, 31 insertions, 27 deletions
diff --git a/chapter06/aboutdebug.xml b/chapter06/aboutdebug.xml
index 6389ad89c..30b3ea056 100644
--- a/chapter06/aboutdebug.xml
+++ b/chapter06/aboutdebug.xml
@@ -2,8 +2,7 @@
<title>About debugging symbols</title>
<para>Most programs and libraries by default are compiled with debugging
-symbols (gcc option -g) Let me explain what these debugging symbols
-are and why you may not want them.</para>
+symbols (gcc option -g).</para>
<para>A program compiled with debugging symbols means a user can run a program
or library through a debugger and the debugger's output will be user
@@ -32,10 +31,7 @@ and gcc files) without debugging symbols: 16MB</para></listitem>
<para>Sizes vary depending on which compiler was used and which C library
version was used to link dynamic programs against, but results will be
-similar if you compare programs with and without debugging symbols. After
-I was done with this chapter and stripped all debugging symbols from all LFS
-binaries I regained a little over 102 MB of disk space. Quite the
-difference.</para>
+similar if you compare programs with and without debugging symbols.</para>
<para>To remove debugging symbols from a binary (must be an a.out or ELF
binary) run <userinput>strip --strip-debug filename</userinput>. Wild cards
@@ -44,6 +40,10 @@ like <userinput>strip --strip-debug $LFS/usr/bin/*</userinput>).
Most people will probably never use a debugger on software, so by
removing those symbols a lot of disk space can be regained.</para>
+<para>For your convenience, chapter 9 includes one simple command to strip
+all debugging symbols from all programs and libraries on your
+system.</para>
+
<para>You might find additional information in the optimization hint which can
be found at <ulink
url="&hint-root;optimization.txt">&hint-root;optimization.txt</ulink>
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 9c2f003d0..b9b644125 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -25,9 +25,9 @@
<para>Although it's not strictly a part of a basic LFS system it's worth
mentioning that a patch for Tar can be downloaded which enables the tar
program to compress and uncompress using bzip2/bunzip2 easily. With a
-plain tar a user has to use constructions like bzcat file.tar.bz|tar
+plain tar, you have to use constructions like bzcat file.tar.bz|tar
xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and
-bunzip2 with tar. This patch gives the -j option so a user can unpack a
+bunzip2 with tar. This patch provides the -j option so you can unpack a
Bzip2 archive with tar xvfj file.tar.bz2. Applying this patch will be
mentioned later on when the Tar package is re-installed.</para>
diff --git a/chapter06/config-ldso.xml b/chapter06/config-ldso.xml
index 7bb4768e8..63b8860d0 100644
--- a/chapter06/config-ldso.xml
+++ b/chapter06/config-ldso.xml
@@ -4,7 +4,7 @@
<para>By default the dynamic loader searches a few default paths for dynamic
libraries, so there normally isn't a need for the
<filename>/etc/ld.so.conf</filename> file unless the system has extra
-directories in which a user wants the system to search for paths. The
+directories in which you want the system to search for libraries. The
<filename class="directory">/usr/local/lib</filename> directory isn't
searched through for dynamic libraries by default, so we want to add
this path so when you install software you won't be surprised by them not
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml
index c1424dc4e..94a03afa6 100644
--- a/chapter06/file-inst.xml
+++ b/chapter06/file-inst.xml
@@ -2,9 +2,10 @@
<title>Installation of File</title>
<para>Note that the sed used in this installation only works if the line
-break is placed exactly where it is in the book. Don't try and put it
-all on one line otherwise it won't work. Install File by running the
-following commands:</para>
+break is placed exactly where it below. Don't try and put it
+all on one line otherwise it won't work.</para>
+
+<para>Install File by running the following commands:</para>
<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;</userinput>
<userinput>sed '/#define __/a \</userinput>
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index e63c2e61b..41a8f8ae1 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -9,8 +9,7 @@ next section.</para>
of the Glibc installation is running ldconfig to update the dynamic loader
cache. If this file doesn't exist, the installation will abort with an error
that it can't read the file, so we simply create an empty file (the empty file
-will have Glibc default to using /lib and /usr/lib which is fine
-right now).</para>
+will have Glibc default to using /lib and /usr/lib which is fine).</para>
<para><userinput>sed 's%\$(PERL)%/usr/bin/perl%'
malloc/Makefile &gt; tmp~:</userinput> This sed command
@@ -35,7 +34,8 @@ because as we don't have glibc on the LFS system yet, usernames can't
be resolved to their user id's. Therefore, we replace the username
root with the id 0. </para>
-<para><userinput>mv tmp~ login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the
+<para><userinput>mv tmp~ login/Makefile:</userinput> As above, we are using
+a temporary file (<filename>tmp~</filename>) to store the
edited Makefile and then copying it back over the original.</para>
<para><userinput>--enable-add-ons:</userinput> This enables the add-on that
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 29c6bf9a8..849f24e08 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -38,13 +38,15 @@ file in the glibc-&glibc-version; tree.</para>
<para>During the configure stage you will see the following warning:</para>
<blockquote><screen>configure: warning:
-*** An auxiliary program is missing or too old;
+*** These auxiliary programs are missing or too old: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.</screen></blockquote>
-<para> This warning refers to the missing msgfmt program from the
-gettext package, but it can safely be ignored in our case. The glibc
-installation will not be affected.</para>
+<para>The missing msgfmt (from the gettext package which we will install
+later in this chapter) is not fatal. The files msgfmt would create are
+already pre-built, so you won't be missing out on anything. You would
+only need it if you make changes to the Glibc manual files. Since we
+don't do this by default, we can safely ignore it.</para>
</sect2>
diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml
index e67973053..6fb14ebc4 100644
--- a/chapter06/ncurses-exp.xml
+++ b/chapter06/ncurses-exp.xml
@@ -18,7 +18,7 @@ properly so we do it manaully instead.</para>
<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
programs try to link using -lcurses instead of -lncurses. This symlink
-ensures that they will install correctly.</para>
+ensures that such programs will link without errors.</para>
<para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
links are created because if they aren't, the linker will not find the
diff --git a/chapter06/netkitbase-inst.xml b/chapter06/netkitbase-inst.xml
index c4cc5d3ce..512d7bc17 100644
--- a/chapter06/netkitbase-inst.xml
+++ b/chapter06/netkitbase-inst.xml
@@ -11,7 +11,7 @@
<para>There are other files in the <filename
class="directory">etc.sample</filename> directory which might be of
-interest to the user.</para>
+interest to you.</para>
</sect2>
diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml
index 0f64b7647..e6b12bed5 100644
--- a/chapter06/nettools-inst.xml
+++ b/chapter06/nettools-inst.xml
@@ -6,9 +6,10 @@
<para><screen><userinput>make &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>
-<para>Net-tools <userinput>hostname</userinput> replaces that which was
-originally installed by sh-utils. Sometimes the sh-utils version gets
-left behind as /bin/hostname.old so you may wish to remove it by running
+<para>The <userinput>hostname</userinput> from this package replaces the
+version that was originally installed by the sh-utils package. Sometimes
+the sh-utils version gets left behind as /bin/hostname.old so you may
+wish to remove it by running
<userinput>rm /bin/hostname.old</userinput></para>
</sect2>
diff --git a/chapter06/procps-exp.xml b/chapter06/procps-exp.xml
index afb57f667..b265d1d61 100644
--- a/chapter06/procps-exp.xml
+++ b/chapter06/procps-exp.xml
@@ -5,7 +5,7 @@
This will set the Makefile variable XSCPT to an empty value so that
the XConsole installation is disabled. Otherwise "Make install" tries to
copy the file XConsole to /usr/X11R6/lib/app-defaults. And that directory
-does not exist, because X is not installed yet.</para>
+does not exist, because X is not installed.</para>
</sect2>
diff --git a/chapter06/removeoldnss.xml b/chapter06/removeoldnss.xml
index 3d2214870..19fd159b6 100644
--- a/chapter06/removeoldnss.xml
+++ b/chapter06/removeoldnss.xml
@@ -2,7 +2,7 @@
<title>Removing old NSS library files</title>
<para>If you have copied the NSS Library files from the normal Linux system
-to the LFS system (because the normal system runs glibc-2.0) it's time to remove
+to the LFS system (because the normal system runs Glibc-2.0) it's time to remove
them now by running:</para>
<para><screen><userinput>rm /lib/libnss*.so.1 /lib/libnss*2.0*</userinput></screen></para>
diff --git a/chapter06/shadowpwd-exp.xml b/chapter06/shadowpwd-exp.xml
index c861d071f..1d66694e1 100644
--- a/chapter06/shadowpwd-exp.xml
+++ b/chapter06/shadowpwd-exp.xml
@@ -3,7 +3,7 @@
<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c
&gt; useradd.c.temp &amp;&amp;</userinput>: This sed is used to fix a
-compilation bug which occurs due to a variable (nflg), being used but not
+compilation bug which occurs due to a variable (nflg) being used but not
defined.</para>
<para><userinput>cp limits login.access and others:</userinput> These files