r62 - in trunk/text: . chapter01 chapter02 chapter05 chapter06 chapter06/10-libc chapter07

robert at linuxfromscratch.org robert at linuxfromscratch.org
Sat Jan 8 12:58:25 PST 2005


Author: robert
Date: 2005-01-08 13:58:23 -0700 (Sat, 08 Jan 2005)
New Revision: 62

Added:
   trunk/text/chapter07/12-finished.txt
Removed:
   trunk/text/chapter08/
   trunk/text/chapter09/
Modified:
   trunk/text/README.txt
   trunk/text/chapter01/changelog.txt
   trunk/text/chapter02/05-ssp.txt
   trunk/text/chapter02/06-pie.txt
   trunk/text/chapter02/07-static-vs-shared.txt
   trunk/text/chapter05/01-set-env.txt
   trunk/text/chapter05/04-binutils-cross.txt
   trunk/text/chapter05/05-gcc-cross.txt
   trunk/text/chapter05/07-adjusting.txt
   trunk/text/chapter05/12-gcc-native.txt
   trunk/text/chapter05/25-gzip.txt
   trunk/text/chapter06/10-libc/10-glibc.txt
   trunk/text/chapter06/10-libc/10-uclibc.txt
   trunk/text/chapter06/11-adjusting.txt
   trunk/text/chapter06/12-binutils.txt
   trunk/text/chapter06/14-coreutils.txt
   trunk/text/chapter06/22-vim.txt
   trunk/text/chapter06/24-bison.txt
   trunk/text/chapter06/27-sed.txt
   trunk/text/chapter06/28-flex.txt
   trunk/text/chapter06/29-gettext.txt
   trunk/text/chapter06/32-perl.txt
   trunk/text/chapter06/33-texinfo.txt
   trunk/text/chapter06/34-autoconf.txt
   trunk/text/chapter06/35-automake.txt
   trunk/text/chapter06/36-bash.txt
   trunk/text/chapter06/38-libtool.txt
   trunk/text/chapter06/42-e2fsprogs.txt
   trunk/text/chapter06/43-grep.txt
   trunk/text/chapter06/44-grub.txt
   trunk/text/chapter06/45-gzip.txt
   trunk/text/chapter06/48-make.txt
   trunk/text/chapter06/49-module-init-tools.txt
   trunk/text/chapter06/57-tar.txt
   trunk/text/chapter06/60-stripping.txt
   trunk/text/chapter06/61-revisedchroot.txt
   trunk/text/chapter07/03-setclock.txt
   trunk/text/chapter07/05-profile.txt
   trunk/text/chapter07/06-localnet.txt
   trunk/text/chapter07/09-fstab.txt
   trunk/text/chapter07/10-kernel.txt
Log:
Spell checked

Modified: trunk/text/README.txt
===================================================================
--- trunk/text/README.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/README.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -20,7 +20,7 @@
      http://frandom.sourceforge.net/ (Frandom Homepage)
 
 We have two C libraries to choose from now. Glibc is very widely supported,
-stable, and fast. uClibc is designed for embeded systems, it is very small
+stable, and fast. uClibc is designed for embedded systems, it is very small
 and is supported by most software. Both Libc's support all of the above
 list of features. There are plans to add uClibc to a beyond-hlfs book so both
 libraries can be used on the same system.
@@ -29,9 +29,9 @@
 The only exception is for libc.so, ld.so, and libraries that do not preload
 libc.so (like libbsd-compat). Even libgcc.so is guarded now. gcc -fPIE is
 manually added to packages which have no libraries, and to GCC because it
-supports seperate LIBCFLAGS. 99% of executables are linked with -pie, -z now,
+supports separate LIBCFLAGS. 99% of executables are linked with -pie, -z now,
 and -z relro. The exceptions are for Glibc's utilities because the have
-non-pic assembly code, aswell Glibc supports these features and uses them were
+non-pic assembly code, as well Glibc supports these features and uses them were
 they are suitable. Coreutils' uname(1), because of non-pic assembly code, and
 Grub are also exceptions.
 
@@ -42,7 +42,7 @@
 The instructions in this book only work for i386 so far.
 The instructions in this book we tested on an LFS-unstable host system.
 
-See chapter03/ for package and patch versions, and URL's.
+See chapter03/ for package and patch versions, and URLs.
 If you have trouble finding patches try looking in here:
 http://www.linuxfromscratch.org/~robert/hlfs/current/
 
@@ -52,11 +52,11 @@
 See BUGS.txt for current bugs.
 
 In chapter 6 we can statically link Coreutils, Bash, Udev, Util-linux, Grep,
-Vim, and Grub. This is incase ld.so or libc.so ever becomes damaged or missing,
+Vim, and Grub. This is in case ld.so or libc.so ever becomes damaged or missing,
 we will still have basic system functionality. See
 chapter02/07-static-vs-shared.txt for more info on this. This is optional.
 
 Send bugs, comments, and questions to:
 hlfs-dev at linuxfromscratch.org
 
-robert
+Robert

Modified: trunk/text/chapter01/changelog.txt
===================================================================
--- trunk/text/chapter01/changelog.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter01/changelog.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,5 +1,5 @@
-November 28th, 2004 [robert] Added uClibc, ProPolice Stack Protector,
-PaX, Grsecurity, Position Independent Executable (PIE) toolchain,
+November 28th, 2004 [Robert] Added uClibc, ProPolice Stack Protector,
+PaX, Grsecurity, Position Independent Executable (PIE) tool chain,
 and Frandom Random Number Suite. Used LFS-unstable-20041127 as a base.
 Added uClibc patches for GCC, Binutils, Tar, Perl, and Shadow.
 Added SSP patch for GCC, and stack_protector.c file for uClibc.
@@ -11,7 +11,7 @@
 can function if libc.so is damaged.
 Set HLFS version to 0.1-release.
 
-December 5th, 2004 [robert]
+December 5th, 2004 [Robert]
 Created chapter02 and added pie and ssp pages. Upgrade file to 4.12.
 Upgrade grep to 2.5.1a. Upgrade iana-etc to 1.03. Upgrade udev to 046.
 Added Tcl 8.4.8 to chapter 5. Added Expect 5.42.1 to chapter 5.
@@ -32,15 +32,15 @@
 Added blfs-bootscripts and frandom patch to chapter 7's lfsbootscripts.txt,
 with commands to install an initial random-seed. Upgrade to tcl-8.4.9.
 Added /tools/cross to strip command in chapter 5. Substitute "i386" with
-"$(uname -m)" for the toolchain. Upgrade to Util-linux 2.12j.
+"$(uname -m)" for the tool chain. Upgrade to Util-linux 2.12j.
 
-December 6th, 2004 [robert]
+December 6th, 2004 [Robert]
 Upgrade to Perl 5.8.6. Add --libdir to Readline and Zlib. Fix symlink for
 libz.so in zlib.txt. Adjusted commands in hotplug.txt to modify Makefile
 instead of using rm(1) after 'make install'. Modified --libdir in Shadow
 to use /lib.
 
-December 8th, 2004 [robert]
+December 8th, 2004 [Robert]
 Up to Binutils 2.15.94.0.1, added tls/strip patch. Adjusted chapter 8
 kernel.txt to use more unified names for system.map, config file, and
 kernel file (better for dual booting). Upgrade to udev-047. Upgrade to
@@ -49,18 +49,18 @@
 Added patch to iproute2 because of new Findutils version. Moved chapter 7's
 contents into chapter 8.
 
-December 9th, 2004 [robert]
+December 9th, 2004 [Robert]
 Up to lfs-bootscripts-3.0 (release). Added /etc/ld.so.conf. Added /etc/TZ.
 Undid libdir=/lib in Shadow temporarily.
 
-December 19th, 2004 [robert]
+December 19th, 2004 [Robert]
 Added a fix in chapter 8 kernel page to install unaligned.h, which is not
 included in linux-libc-headers-2.6.7.0; this is fixed in newer versions.
 Move all of chapter 8 to chapter 7, this is more suitable, chapter 8 will
 be used for beyond hlfs packages. Added an suid page to chapter 7.
 
-December 31st, 2004 [robert]
-New toolchain build method. Dropped native pass2's. Added Glibc as optional,
+December 31st, 2004 [Robert]
+New tool chain build method. Dropped native pass2's. Added Glibc as optional,
 from cvs 20041220. Up to binutils-2.15.94.0.2, removed fix_strip patch. Up to
 linux-libc-headers-2.6.9.1. Tcl, gawk, bash, and perl pie bugs have
 disappeared. New sspspecs patch, finally fixed cc1plus spec so it works.
@@ -71,17 +71,17 @@
 Added /tools/{,share/} and /tools/sbin to chapter 5's stripping.txt. Upgrade
 to man-pages 2.01. Add kernel-headers page to chapter 6. Upgrade to Bison-2.0.
 
-January 4rth, 2005 [robert]
+January 4rth, 2005 [Robert]
 Made patches.txt alphabetical, and added links to new hlfs patch directory.
-Upgrade to kernel 2.6.10, added secrity fix patch; added security patch for
+Upgrade to kernel 2.6.10, added security fix patch; added security patch for
 Vim. Added util-linux-2.12p cramfs patch. Removed sspspecs and piespecs
 patches, replaced with perl and echo commands. Up to automake-1.9.4. Up to
 udev-050.
 
-January 5th, 2005 [robert]
+January 5th, 2005 [Robert]
 libgcc.so in chapter 6 builds with -fstack-protector-all!!!
 
-January 7th, 2005 [robert]
+January 7th, 2005 [Robert]
 Bump to Texinfo 4.8, removed segfault patch. Bump to Findutils 4.2.11.
 Put a Gettext page in chapter 6. Added new Grsec patch for kernel 2.6.10.
 Removed /opt from createdirs.txt, nothing uses it, /usr/local does same thing.
@@ -89,3 +89,6 @@
 Removed /srv from createdirs.txt, nothing uses it, /var does same thing.
 Upgrade to bash-fixes-3.patch.
 
+January 8th, 2005 [Robert]
+Spell checked.
+

Modified: trunk/text/chapter02/05-ssp.txt
===================================================================
--- trunk/text/chapter02/05-ssp.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter02/05-ssp.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -6,21 +6,21 @@
 in the mainstream GCC, but this has yet to surface. Many distributions have
 included SSP, some enable it by default while others leave it optional.
 This protection uses minimal time and space overhead while protecting all
-functions. Reports of a 1-2% preformance loss are typical, which is negligible
+functions. Reports of a 1-2% performance loss are typical, which is negligible
 and can be easily overcome by optimizations.
 
 The patch for GCC adds -fstack-protector-all, -fstack-protector, and
 -fno-stack-protector* to extensions for C and C++. -Wstack-protector is also
 available to warn when SSP is not used. The patch for Libc adds __guard_setup
 and __stack_smash_handler to libc.so and libc.a. __guard_setup is a function
-used to create a unique and random value for __guard each runtime. The Frandom
+used to create a unique and random value for __guard each run time. The Frandom
 kernel patch was added to solve an entropy starvation bug caused by SSP needing
-a random seed for every program at runtime. Frandom adds the Erandom device
+a random seed for every program at run time. Frandom adds the Erandom device
 (economical random) which uses the state of Frandom as a seed. Frandom is seeded
 from the kernel's random device. The result is that Erandom does not consume
 any kernel entropy while producing crypto quality output. In the event of a
 stack overflow the __stack_smash_handler function will use the Libc syslog
-facility to record the overflow, which typicaly depends on /dev/log, and will
+facility to record the overflow, which typically depends on /dev/log, and will
 abort the program. The Erandom device is available from the sysctl interface
 so it will work threw chroot. If the Erandom sysctl interface is not working
 for whatever reason the __guard_setup function will attempt to use /dev/urandom

Modified: trunk/text/chapter02/06-pie.txt
===================================================================
--- trunk/text/chapter02/06-pie.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter02/06-pie.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -12,14 +12,14 @@
 
 When all of the object code is position independent the kernel can disallow
 text relocation. This dramatically increases the security of the system with
-little preformance loss. PaX and Grsec kernels have this option available
+little performance loss. PaX and Grsec kernels have this option available
 though very few systems have been able to take advantage of it. The entire
 base system can be built position independent with the exception of the Grub
 boot loader, and Glibc's utilities due to non-pic assembly code. These
 programs will still function if they are dynamically linked. Other exceptions
 are X11 windowing system, Mplayer, and a few other graphical programs which
 were not programed with PIE in mind, this should come in time. Gzip uses
-assembly code which is not position independent, but this can be ommited
+assembly code which is not position independent, but this can be omitted
 at compile time and Gzip will use only C code.
 
 PaX can also randomize the return addresses of PIE programs with Address
@@ -45,11 +45,11 @@
 
 Libraries can not be compiled with -fPIE or linked with -pie, the key word is
 'executable'. The specs modifications adds filters to the link_command spec
-to disinguish executables from libraries, so the ld -pie switch is only passed
+to distinguish executables from libraries, so the ld -pie switch is only passed
 when linking executables. The same filters can not be used for cc1, so the
 cc1 spec passes -fPIC instead of -fPIE to everything unless the -static or
 -no-pie flags are used. Using 'gcc -fPIC' with 'ld -pie' works fairly well,
-but to take full advantage of the toolchain features it is ideal to use the
+but to take full advantage of the tool chain features it is ideal to use the
 -fPIE option, but only when compiling program executables. fPIE is known to
 cause text relocation in some programs, so it must be used with care. In this
 book we set CC="-pie -fPIE" with packages that can use it properly. Beyond

Modified: trunk/text/chapter02/07-static-vs-shared.txt
===================================================================
--- trunk/text/chapter02/07-static-vs-shared.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter02/07-static-vs-shared.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,8 +1,8 @@
 - Chapter 2 - Static verses Shared
 
 There are pros and cons to both static and shared or dynamic linking. In the
-begining of computers everything was static and monolithic. This works fine
-but it is not flexable. Modular designs have become more popular because
+beginning of computers everything was static and monolithic. This works fine
+but it is not flexible. Modular designs have become more popular because
 they are easier to maintain. New modules can be reloaded, unused modules
 don't need to be loaded at all. Dynamic linking allows for the system to use
 shared memory. So if ten programs are loaded but all use the same library, the
@@ -16,5 +16,5 @@
 Statically linked programs are stand-alone and independent (usually). For
 this reason they are more dependable.
 
-Todo: Add a better debate here.
+To do: Add a better debate here.
 

Modified: trunk/text/chapter05/01-set-env.txt
===================================================================
--- trunk/text/chapter05/01-set-env.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter05/01-set-env.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,4 +1,4 @@
-- Chapter 5 - Setting additional enviroment variables
+- Chapter 5 - Setting additional environment variables
 
 # You need to decide here if you will be installing Glibc or uClibc.
 # If you want to install both then select Glibc here and install uClibc
@@ -19,8 +19,8 @@
 export disable_nls=--disable-nls
 
 # The "-tools-" is used in the vendor field instead of the traditional "-pc-"
-# to distinguish it from the host's toolchain, mainly as a precaution. This
-# also tricks the new toolchain to think we are cross compiling even if we
+# to distinguish it from the host's tool chain, mainly as a precaution. This
+# also tricks the new tool chain to think we are cross compiling even if we
 # are not. This way we are able to use the same procedure regardless of which
 # libc is being used.
 

Modified: trunk/text/chapter05/04-binutils-cross.txt
===================================================================
--- trunk/text/chapter05/04-binutils-cross.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter05/04-binutils-cross.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -17,5 +17,5 @@
 make -C ld LIB_PATH=/tools/lib
 
 # Keep this source and build directories for later or you won't be able
-# to get the post libc toolchain to build.
+# to get the post libc tool chain to build.
 

Modified: trunk/text/chapter05/05-gcc-cross.txt
===================================================================
--- trunk/text/chapter05/05-gcc-cross.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter05/05-gcc-cross.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -12,14 +12,14 @@
 sed -e 's@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g' \
 	-i gcc/Makefile.in
 
-# This patch adds two configue options, --with-dynamic-linker and
+# This patch adds two configure options, --with-dynamic-linker and
 # --with-nostdinc. It must be applied before the next command or else the
 # patch will fail to apply.
 
 patch -Np1 -i ../gcc-3.4.3-specs_x86-1.patch
 
-# Set the startfile prefix. This will default to /tools/${target}/lib, but
-# there's no need to install the startfiles there.
+# Set the start file prefix. This will default to /tools/${target}/lib, but
+# there's no need to install the start files there.
 
 echo "
 #undef STARTFILE_PREFIX_SPEC

Modified: trunk/text/chapter05/07-adjusting.txt
===================================================================
--- trunk/text/chapter05/07-adjusting.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter05/07-adjusting.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,6 +1,6 @@
-- Chapter 5 - Adjusting toolchain
+- Chapter 5 - Adjusting tool chain
 
-# Go back in the binutild-build directory.
+# Go back in the binutils-build directory.
 
 make -C ld install
 

Modified: trunk/text/chapter05/12-gcc-native.txt
===================================================================
--- trunk/text/chapter05/12-gcc-native.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter05/12-gcc-native.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -68,10 +68,10 @@
 EOF
 
 # These commands will make 'gcc -fPIC', 'ld -pie', and 'cpp -D__PIC__ -DPIC'
-# the default. The exact default behaviour for 'gcc -pie' will be preserved.
-# If -pie, -no-pie, or -static are used then the vanilla behaviour will be
+# the default. The exact default behavior for 'gcc -pie' will be preserved.
+# If -pie, -no-pie, or -static are used then the vanilla behavior will be
 # used instead. Additional filters are added to the link_command spec to
-# prevent libraries from recieving the -pie option.
+# prevent libraries from receiving the -pie option.
 # Read ../chapter02/06-pie.txt for more information on this.
 
 # The last echo command in this group must have its line pasted as a single
@@ -111,7 +111,7 @@
 
 # This program will create a buffer overflow with an array length 7. This
 # will test that -fstack-protector-all is working. It will also print the
-# __guard[] value. The __guard value should change with each runtime.
+# __guard[] value. The __guard value should change with each run time.
 
 cat > test.c << "EOF"
 #include <stdio.h>
@@ -144,8 +144,8 @@
 g++ -pie -fPIE -o test2 test.c &&
 ./test
 
-# The g++ test should return something very similiar. The __guard value
-# should change, and both tests should recieve an abort signal. Your host
+# The g++ test should return something very similar. The __guard value
+# should change, and both tests should receive an abort signal. Your host
 # system Syslog daemon should also log these events.
 
 # Then make sure gcc is linking to tools and is creating position independent

Modified: trunk/text/chapter05/25-gzip.txt
===================================================================
--- trunk/text/chapter05/25-gzip.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter05/25-gzip.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -3,7 +3,7 @@
 # By default gzip-1.3.5 uses assembly code. While this may preform better, it
 # is not position independent. The assembly code causes text relocation which
 # is disallowed by options in PaX/Grsec kernels. To use only C code instead we
-# set the DEFS enviroment variable.
+# set the DEFS environment variable.
 
 env DEFS=NO_ASM CC="gcc -pie -fPIE" \
 ./configure --prefix=/tools ${disable_nls} &&

Modified: trunk/text/chapter06/10-libc/10-glibc.txt
===================================================================
--- trunk/text/chapter06/10-libc/10-glibc.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/10-libc/10-glibc.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -3,7 +3,7 @@
 # The fstack_protector patch adds -fstack-protector-all to selected utilities
 # and libraries. libc.so, ld.so, libbsd-compat.so, and other libraries which
 # do not preload libc.so are skipped. This patch will work to override the
-# -fno-stack-protector option used in the CC envrioment variable below.
+# -fno-stack-protector option used in the CC environment variable below.
 
 # While Glibc can be built with -pie and -fPIC (with a small patch) all of
 # Glibc's utilities have non-pic assembly code in them. If they're linked
@@ -16,7 +16,7 @@
 # appropriate.
 
 # The --enable-bind-now configure option enables a new linker option
-# (ld -z now) for non-lazy runtime binding. See these URL's for more details:
+# (ld -z now) for non-lazy run time binding. See these URLs for more details:
 # http://sources.redhat.com/ml/libc-alpha/2004-03/msg00075.html
 # http://elfsh.segfault.net/papers/elf-rtld.txt
 

Modified: trunk/text/chapter06/10-libc/10-uclibc.txt
===================================================================
--- trunk/text/chapter06/10-libc/10-uclibc.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/10-libc/10-uclibc.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -8,21 +8,21 @@
 
 sed -e 's/-Os,//' -i Rules.mak
 
-# Next run menuconfig. This is very similiar to the kernel's menuconfig.
+# Next run menuconfig. This is very similar to the kernel's menuconfig.
 # If you want to install locales you will need to fetch the
 # uClibc-locale-030818.tgz package from the uClibc.org website, and do:
 # install -m444 ../uClibc-locale-030818.tgz extra/locale/
 # 
 # UCLIBC_HAS_WCHAR is needed to build g++. UCLIBC_HAS_RPC is needed to build
-# util-linux (nfsmount). Use your own judgement for the rest. The
-# 'make defconfig' and 'make allyesconfig' targets are not reccomended.
+# util-linux (nfsmount). Use your own judgment for the rest. The
+# 'make defconfig' and 'make allyesconfig' targets are not recommended.
 #
 # You can use the uClibc-config patch from chapter 5 if you do not want to
 # answer any questions here.
 
 make menuconfig
 
-# The runtime path gets hardcoded into ldd, and so on. So we reset these
+# The run time path gets hard coded into ldd, and so on. So we reset these
 # installations paths now before compiling anything. While we're at it
 # we can tell uClibc where to find the new kernel headers.
 
@@ -37,7 +37,7 @@
 make &&
 make -C utils
 
-# Run the testsuite if you like. Some tests may fail.
+# Run the test suite if you like. Some tests may fail.
 
 make -k -C test | tee make-test.log
 
@@ -62,16 +62,16 @@
 install -m644 ld.so.conf.new /etc/ld.so.conf
 
 # The system timezone is set with the /etc/TZ file. Users can use the TZ
-# enviroment variable for their local time. See:
+# environment variable for their local time. See:
 # http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
 # and/or
 # http://leaf.sourceforge.net/doc/guide/buci-tz.html#id2599108
 # for a more complete description. This example is for eastern standard time,
-# and it will adjust by 1 hour automaticly for daylight savings time.
+# and it will adjust by 1 hour automatically for daylight savings time.
 
 echo "EST5EDT" > TZ.new &&
 install -m644 TZ.new /etc/TZ
 
-# If your hardware clock is on localtime use something like "EST0EDT".
+# If your hardware clock is on local time use something like "EST0EDT".
 # Remote users can use 'export TZ=JST-9:' (Japan standard time).
 

Modified: trunk/text/chapter06/11-adjusting.txt
===================================================================
--- trunk/text/chapter06/11-adjusting.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/11-adjusting.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,4 +1,4 @@
-- Chapter 6 - Re-adjusting toolchain
+- Chapter 6 - Re-adjusting the tool chain
 
 # Change into the binutils-build directory.
 

Modified: trunk/text/chapter06/12-binutils.txt
===================================================================
--- trunk/text/chapter06/12-binutils.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/12-binutils.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -14,10 +14,10 @@
 	--enable-shared ${disable_nls} &&
 make tooldir=/usr
 
-# Run the testsuite if you like.
+# Run the test suite if you like.
 #
 # The following is a bug in objcopy's test. It is not respecting a modified
-# CC, CXX, CFLAGS, or CXXFLAGS enviroment, and so 3 tests fail due to -fpic
+# CC, CXX, CFLAGS, or CXXFLAGS environment, and so 3 tests fail due to -fpic
 # and -fstack-protector. The tests can pass if we clear the specs file.
 
 gcc -dumpspecs > $(gcc --print-file specs) &&

Modified: trunk/text/chapter06/14-coreutils.txt
===================================================================
--- trunk/text/chapter06/14-coreutils.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/14-coreutils.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,10 +1,10 @@
 - Chapter 6 - Installing Coreutils 5.2.1
 
-# The uname patch adds non-PIC asm code to uname.c, so it must
+# The uname patch adds non-PIC assembly code to uname.c, so it must
 # be built statically linked or else it will not compile with our
 # GCC which compiles PIC by default. The uname patch is needed
-# because it lets 'uname -p' return something usefull. Keep in
-# mind that uname is static incase you upgrade libc in the future.
+# because it lets 'uname -p' return something useful. Keep in
+# mind that uname is static in case you upgrade libc in the future.
 
 patch -Np1 -i ../coreutils-5.2.1-uname-2.patch &&
 patch -Np1 -i ../coreutils-5.2.1-static_uname-1.patch &&

Modified: trunk/text/chapter06/22-vim.txt
===================================================================
--- trunk/text/chapter06/22-vim.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/22-vim.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,6 +1,6 @@
 - Chapter 6 - Installing Vim 6.3
 
-# Vim's testsuite is difficult to use, so we won't run it for now.
+# Vim's test suite is difficult to use, so we won't run it for now.
 
 # First run these commands to configure the vimrc path in Vim.
 
@@ -12,8 +12,8 @@
 patch -Np1 -i ../vim-6.3-security_fix-1.patch
 
 # You may wish to install Vim statically linked. Though Vim is not
-# critical in recovering a system it can be very usefull in some
-# emergancy situations.
+# critical in recovering a system it can be very useful in some
+# emergency situations.
 
 # If you would like to compile Vim statically linked use this command.
 

Modified: trunk/text/chapter06/24-bison.txt
===================================================================
--- trunk/text/chapter06/24-bison.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/24-bison.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -3,7 +3,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/27-sed.txt
===================================================================
--- trunk/text/chapter06/27-sed.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/27-sed.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -5,7 +5,7 @@
 	${disable_nls} &&
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/28-flex.txt
===================================================================
--- trunk/text/chapter06/28-flex.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/28-flex.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -5,7 +5,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/29-gettext.txt
===================================================================
--- trunk/text/chapter06/29-gettext.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/29-gettext.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -5,7 +5,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the test if you want.
+# Run the tests if you want.
 
 make check
 

Modified: trunk/text/chapter06/32-perl.txt
===================================================================
--- trunk/text/chapter06/32-perl.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/32-perl.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -9,8 +9,8 @@
 ./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" &&
 make
 
-# /etc/hosts is needed for the testsuite. Run this even if you do
-# not run the tests, upcomming packages may depend on it.
+# /etc/hosts is needed for the test suite. Run this even if you do
+# not run the tests, upcoming packages may depend on it.
 
 echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
 

Modified: trunk/text/chapter06/33-texinfo.txt
===================================================================
--- trunk/text/chapter06/33-texinfo.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/33-texinfo.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -4,7 +4,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/34-autoconf.txt
===================================================================
--- trunk/text/chapter06/34-autoconf.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/34-autoconf.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -4,7 +4,7 @@
 make
 
 # Run the tests if you like, they should all pass.
-# This testsuite takes a long time to run.
+# This test suite takes a long time to run.
 
 make check
 

Modified: trunk/text/chapter06/35-automake.txt
===================================================================
--- trunk/text/chapter06/35-automake.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/35-automake.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -4,7 +4,7 @@
 make
 
 # Run the tests if you like, they should all pass.
-# This testsuite takes a very long time to run.
+# This test suite takes a very long time to run.
 
 make check
 

Modified: trunk/text/chapter06/36-bash.txt
===================================================================
--- trunk/text/chapter06/36-bash.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/36-bash.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -9,7 +9,7 @@
 patch -Np1 -i ../bash-3.0-fixes-3.patch
 
 # We have a few options on how to install Bash. Bash is needed to preform
-# any kind of maintence, it is also used for most login shells.
+# any kind of maintenance, it is also used for most login shells.
 # Option A: We install a statically linked Bash used for booting and for
 # Root's login, and install a dynamically linked Bash for users. This way
 # we can get the best of both worlds.
@@ -30,7 +30,7 @@
 	--without-bash-malloc --with-installed-readline ${disable_nls} &&
 make
 
-# If you want to run the testsuite do that here. All tests should pass.
+# If you want to run the test suite do that here. All tests should pass.
 
 make tests
 
@@ -61,7 +61,7 @@
     --without-bash-malloc --with-installed-readline ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All tests should pass.
+# Run the test suite if you like. All tests should pass.
 
 make tests
 
@@ -76,7 +76,7 @@
     --without-bash-malloc --with-installed-readline ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All tests should pass.
+# Run the test suite if you like. All tests should pass.
 
 make tests
 
@@ -84,7 +84,7 @@
 
 make install
 
-# Preform this regarless of which option you installed.
+# Preform this regardless of which option you installed.
 # Then run the new Bash in your current login.
 
 exec /bin/bash --login +h

Modified: trunk/text/chapter06/38-libtool.txt
===================================================================
--- trunk/text/chapter06/38-libtool.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/38-libtool.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -3,7 +3,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All tests should pass.
+# Run the test suite if you like. All tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/42-e2fsprogs.txt
===================================================================
--- trunk/text/chapter06/42-e2fsprogs.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/42-e2fsprogs.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -10,7 +10,7 @@
 	--enable-elf-shlibs --disable-evms ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/43-grep.txt
===================================================================
--- trunk/text/chapter06/43-grep.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/43-grep.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,6 +1,6 @@
 - Chapter 6 - Installing Grep 2.5.1a
 
-# Grep is used durring booting, mainly for the mount and cleanfs scripts.
+# Grep is used during booting, mainly for the mount and cleanfs scripts.
 # If you would like to link Grep statically use this command.
 
 env LDFLAGS=-static \
@@ -16,7 +16,7 @@
 
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/44-grub.txt
===================================================================
--- trunk/text/chapter06/44-grub.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/44-grub.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -8,7 +8,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the testsuite if you like. The ffs test is known to always fail.
+# Run the test suite if you like. The ffs test is known to always fail.
 
 make -k check
 

Modified: trunk/text/chapter06/45-gzip.txt
===================================================================
--- trunk/text/chapter06/45-gzip.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/45-gzip.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,6 +1,6 @@
 - Chapter 6 - Installing Gzip 1.3.5
 
-# See chapter 5's Gzip page for an explaination to the DEFS variable.
+# See chapter 5's Gzip page for an explanation to the DEFS variable.
 
 env DEFS=NO_ASM CC="gcc -pie -fPIE" \
 ./configure --prefix=/usr ${disable_nls} &&

Modified: trunk/text/chapter06/48-make.txt
===================================================================
--- trunk/text/chapter06/48-make.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/48-make.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -4,7 +4,7 @@
 ./configure --prefix=/usr ${disable_nls} &&
 make
 
-# Run the testsuite if you like. All the tests should pass.
+# Run the test suite if you like. All the tests should pass.
 
 make check
 

Modified: trunk/text/chapter06/49-module-init-tools.txt
===================================================================
--- trunk/text/chapter06/49-module-init-tools.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/49-module-init-tools.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -3,7 +3,7 @@
 ./configure --prefix="" --enable-zlib ${disable_nls} &&
 make DOCBOOKTOMAN=""
 
-# Run the testsuite if you like. The one test should pass.
+# Run the test suite if you like. The one test should pass.
 
 make check
 

Modified: trunk/text/chapter06/57-tar.txt
===================================================================
--- trunk/text/chapter06/57-tar.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/57-tar.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -5,7 +5,7 @@
 	--libexecdir=/usr/sbin ${disable_nls} &&
 make
 
-# Run the testsuite if you like.
+# Run the test suite if you like.
 
 make check
 

Modified: trunk/text/chapter06/60-stripping.txt
===================================================================
--- trunk/text/chapter06/60-stripping.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/60-stripping.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,9 +1,9 @@
 - Chapter 6 - Stripping
 
-# First logout.
+# First log out.
 logout
 
-# Chroot back in using /tools/bin/bash as the shell.
+# Change-root back in using /tools/bin/bash as the shell.
 
 chroot $LFS /tools/bin/env -i \
 	HOME=/root TERM=$TERM PS1='\u:\w\$ ' \

Modified: trunk/text/chapter06/61-revisedchroot.txt
===================================================================
--- trunk/text/chapter06/61-revisedchroot.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter06/61-revisedchroot.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,10 +1,10 @@
 - Chapter 6 - Revised Chroot
 
-# Logout from the previous chroot used for stripping.
+# Log out from the previous chroot used for stripping.
 
 logout
 
-# Then chroot back in.
+# Then change-root back in.
 
 chroot "$LFS" /usr/bin/env -i \
 	HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \

Modified: trunk/text/chapter07/03-setclock.txt
===================================================================
--- trunk/text/chapter07/03-setclock.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter07/03-setclock.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,8 +1,8 @@
 - Chapter 7 - Setclock script
 
 # This script will not work with Grsec configured kernels. We suggest
-# you either set your hardware clock to GMT, or hardcode your timezone
-# in the kernel. The bootscripts expect this file to exist though, so
+# you either set your hardware clock to GMT, or hard code your timezone
+# in the kernel. The boot scripts expect this file to exist though, so
 # we just touch it.
 
 touch /etc/sysconfig/clock

Modified: trunk/text/chapter07/05-profile.txt
===================================================================
--- trunk/text/chapter07/05-profile.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter07/05-profile.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -4,7 +4,7 @@
 # set up.
 
 # Here we create a very basic profile file. This will overwrite the one
-# made at the begining of chapter 6.
+# made at the beginning of chapter 6.
 
 cat > /tmp/profile.new << "EOF"
 # Begin /etc/profile

Modified: trunk/text/chapter07/06-localnet.txt
===================================================================
--- trunk/text/chapter07/06-localnet.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter07/06-localnet.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,7 +1,7 @@
 - Chapter 7 - Installing the localnet script
 
-# Assuming you will reuse your hostname on the new system this command will
-# work. If you will use a different hostname on your new system edit this
+# Assuming you will reuse your host name on the new system this command will
+# work. If you will use a different host name on your new system edit this
 # file accordingly.
 
 echo "HOSTNAME=$(hostname)" > /tmp/network.new &&

Modified: trunk/text/chapter07/09-fstab.txt
===================================================================
--- trunk/text/chapter07/09-fstab.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter07/09-fstab.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -2,9 +2,9 @@
 
 # Almost everyone will need to edit this before installing it.
 
-# The proc filesystem does not have executables, suid, or devices.
-# The sysfs and devpts filesystems do not have executables, or suid.
-# The shm filesystem do not have suid, or devices.
+# The proc file-system does not have executables, suid, or devices.
+# The sysfs and devpts file-systems do not have executables, or suid.
+# The shm file-system do not have suid, or devices.
 # You shouldn't have problems with the suggested options below, if
 # you do please report them to hlfs-dev at linuxfromscratch.org.
 

Modified: trunk/text/chapter07/10-kernel.txt
===================================================================
--- trunk/text/chapter07/10-kernel.txt	2005-01-08 18:42:03 UTC (rev 61)
+++ trunk/text/chapter07/10-kernel.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -1,9 +1,9 @@
 - Chapter 7 - Installing the Linux kernel 2.6.10
 
 # Most development systems (systems which compile packages) will leave
-# the kernel source installed durring normal operation. The traditional
+# the kernel source installed during normal operation. The traditional
 # place to have kernel sources installed is /usr/src/linux. Here we will
-# follow the convention, although you do not nessesarily have to.
+# follow the convention, although you do not necessarily have to.
 
 # You may have to adjust the path to the Linux source tarball. The
 # "--no-same-owner --no-same-permissions" options will extract the kernel
@@ -39,7 +39,7 @@
 patch -Np1 -i ../linux-2.6.10-secfix-200501071130.patch
 
 # And begin building the kernel. Configuring the kernel with menuconfig is
-# another doccument. All the Grsec and PaX options can be enabled.
+# another document. All the Grsec and PaX options can be enabled.
 # Sysctl is needed to use Frandom properly with SSP.
 
 make mrproper &&
@@ -62,8 +62,8 @@
 
 install -m444 arch/i386/boot/bzImage /boot/hdb3-kernel-2.6.10
 
-# The system map file is often used durring booting, and keeping a copy
-# of the kernel config file is good for refference later.
+# The system map file is often used during booting, and keeping a copy
+# of the kernel config file is good for reference later.
 
 install -m644 System.map /boot/hdb3-System.map-2.6.10 &&
 install -m644 .config /boot/hdb3-config-2.6.10

Copied: trunk/text/chapter07/12-finished.txt (from rev 58, trunk/text/chapter09/02-finito.txt)
===================================================================
--- trunk/text/chapter09/02-finito.txt	2005-01-07 22:55:57 UTC (rev 58)
+++ trunk/text/chapter07/12-finished.txt	2005-01-08 20:58:23 UTC (rev 62)
@@ -0,0 +1,8 @@
+- Chapter 9 - The end
+
+echo "HLFS 20050108" > /tmp/hlfs-release &&
+install -m444 /tmp/hlfs-release /etc/hlfs-release &&
+rm /tmp/hlfs-release
+
+# Now exit the chroot, unmount everything, and reboot.
+




More information about the hlfs-dev mailing list