From cbc99c813f9022857d6fef12232090f0bc2e19cb Mon Sep 17 00:00:00 2001 From: Archaic Date: Fri, 1 Jul 2005 23:36:35 +0000 Subject: Several minor wording changes in chapter 6. (merged from trunk r6249) git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6311 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/chroot.xml | 12 ++++++------ chapter06/createfiles.xml | 8 ++++---- chapter06/creatingdirs.xml | 17 ++++++++--------- chapter06/glibc.xml | 17 +++++++++-------- chapter06/kernfs.xml | 6 +++--- chapter06/pwdgroup.xml | 17 ++++++++--------- chapter06/readjusting.xml | 35 ++++++++++++++++------------------- 7 files changed, 54 insertions(+), 58 deletions(-) (limited to 'chapter06') diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index 80a27709f..d02c94e40 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -37,12 +37,12 @@ restricted to the LFS file system. This is because the Bash shell is told that $LFS is now the root (/) directory. -Notice that /tools/bin -comes last in the PATH. This means that a -temporary tool will not be used anymore as soon as its final version -is installed. This occurs when the shell does not remember the -locations of executed binaries—for this reason, hashing is switched -off by passing the +h option to bash. +Notice that /tools/bin comes last +in the PATH. This means that a temporary tool will no longer be +used once its final version is installed. This occurs when the shell does not +remember the 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 are run from within the diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 8126a11a9..164e165c9 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -7,10 +7,10 @@ Creating Essential Symlinks -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. +Some programs use hard-wired paths to programs which do not exist yet. 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. ln -s /tools/bin/{bash,cat,pwd,stty} /bin ln -s /tools/bin/perl /usr/bin diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 3a574fee6..f8344fef5 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -49,16 +49,15 @@ bit mask. FHS Compliance Note -The directory tree is based on the Filesystem Hierarchy Standard -(FHS) standard (available at ). Besides the tree created above, -this standard stipulates the existence of The directory tree is based on the Filesystem Hierarchy Standard (FHS) + (available at ). In addition +to the tree created above, this standard stipulates the existence of /usr/local/games and /usr/share/games. We do not recommend -these for a base system, however, feel free to make the system -FHS-compliant. The FHS is not precise as to the structure of the -/usr/local/share subdirectory, -so we created only the directories that are needed. +class="directory">/usr/share/games. The FHS is not precise as to the +structure of the /usr/local/share +subdirectory, so we create only the directories that are needed. However, feel +free to create these directories if you prefer to conform more strictly to the +FHS standard. diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index c67072690..9df4bbfef 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -110,8 +110,9 @@ Certain optimization settings are also known to be a factor here. If you have mounted the LFS partition with the -noatime option, the atime -test will fail. This is not critical. +noatime option, the atime test will +fail. As mentioned in , do not use the +noatime option while building LFS. When running on older and slower hardware, some tests can fail because of test timeouts being exceeded. @@ -193,10 +194,10 @@ on the threading API (applicable to NPTL as well): /etc/nsswitch.conf /etc/localtime -The /etc/nsswitch.conf file needs to be -created because, although Glibc provides defaults when this file is -missing or corrupt, the Glibc defaults do not work well with -networking. The time zone also needs to be set up. +The /etc/nsswitch.conf file needs to be created +because, although Glibc provides defaults when this file is missing or corrupt, +the Glibc defaults do not work well in a networked environment. The time zone +also needs to be configured. Create a new file /etc/nsswitch.conf by running the following: @@ -232,8 +233,8 @@ running: cp --remove-destination /usr/share/zoneinfo/[xxx] \ /etc/localtime -Replace [xxx] with the name of the time zone that the -tzselect provided (e.g., Canada/Eastern). +Replace [xxx] with the name of the time zone +that tzselect provided (e.g., Canada/Eastern). The meaning of the cp option: diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml index 2755dea13..397033cdf 100644 --- a/chapter06/kernfs.xml +++ b/chapter06/kernfs.xml @@ -7,9 +7,9 @@ Mounting Virtual Kernel File Systems -Various file systems exported by the kernel do not exist on the -hard drive, but are used to communicate to and from the kernel -itself. +Various file systems exported by the kernel are used to communicate to and +from the kernel itself. These file systems are virtual in that no disk space is +used for them. The contents of the file systems resides in memory. Begin by creating directories onto which the file systems will be mounted: diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index 8ba6d4879..46c659f15 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -50,15 +50,14 @@ utmp:x:13: usb:x:14: EOF -The created groups are not part of any standard—they are some -of the groups that the Udev configuration will be using in the next -section. The Linux Standard Base (LSB, available at ) recommends only that, besides the -group root with a Group ID (GID) of 0, a group -bin with a GID of 1 be present. All other group names -and GIDs can be chosen freely by the system administrator since -well-written packages do not depend on GID numbers, but rather use the -group's name. +The created groups are not part of any standard—they are some of the +groups that the Udev configuration will use in the next section. The Linux +Standard Base (LSB, available at ) +recommends only that, besides the group root with a Group ID +(GID) of 0, a group bin with a GID of 1 be present. All other +group names and GIDs can be chosen freely by the system administrator since +well-written packages do not depend on GID numbers, but rather use the group's +name. To remove the I have no name! prompt, start a new shell. Since a full Glibc was installed in Re-adjusting the Toolchain -Now that the new and final C libraries have been installed, it -is time to adjust the toolchain again. The toolchain will be adjusted -so that it will link any newly compiled program against these new -libraries. This is the same process used in the -Adjusting phase in the beginning of , even though it looks to be -reversed. In , the chain was -guided from the host's /{,usr/}lib directories to the new -/tools/lib directory. Now, the -chain will be guided from that same /tools/lib directory to the LFS -/{,usr/}lib directories. - -Start by adjusting the linker. The source and build directories -from the second pass over Binutils were retained for this purpose. -Install the adjusted linker by running the following command from -within the binutils-build -directory: +Now that the final C libraries have been installed, it is time to adjust +the toolchain again. The toolchain will be adjusted so that it will link any +newly compiled program against these new libraries. This is the same process +used in the Adjusting phase in the beginning of , but with the adjustments reversed. In , the chain was guided from the host's +/{,usr/}lib directories to the new +/tools/lib directory. Now, the chain will +be guided from that same /tools/lib +directory to the LFS /{,usr/}lib +directories. + +Start by adjusting the linker. The source and build directories from the +second pass of Binutils were retained for this purpose. Install the adjusted +linker by running the following command from within the binutils-build directory: make -C ld INSTALL=/tools/bin/install install -- cgit v1.2.3-54-g00ecf