diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-09-28 21:08:29 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-09-28 21:08:29 +0000 |
commit | 2c094d60db777dce20fd4eccf4996299c2a0dfe0 (patch) | |
tree | 6059aa8ca1a67a6e974f8802b9af66a7330272a4 /chapter02/aboutlfs.xml | |
parent | f5cc1c171ba0c9aece1fe1046ce4dbaed8850e9f (diff) |
Applied Bill Maltby's grammar patch. Changed $LFS to LFS where appropriate. Internal XML cleanup: removed double spacing where appropriate.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02/aboutlfs.xml')
-rw-r--r-- | chapter02/aboutlfs.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml index de840e166..6f9d7ed9f 100644 --- a/chapter02/aboutlfs.xml +++ b/chapter02/aboutlfs.xml @@ -3,7 +3,7 @@ <?dbhtml filename="aboutlfs.html" dir="chapter02"?> <para>Please read the following carefully: throughout this book -the variable $LFS will be used frequently. $LFS must at all times be +the variable LFS will be used frequently. $LFS must at all times be replaced with the directory where the partition that contains the LFS system is mounted. How to create and where to mount the partition will be explained in full detail in Chapter 4. For example, let's assume that @@ -28,18 +28,18 @@ it literally. Your shell will replace $LFS with /mnt/lfs when it processes the command line (meaning when you hit enter after having typed the command).</para> -<para>If you plan to use $LFS, do not forget to set the $LFS variable at all +<para>If you plan to use $LFS, do not forget to set the LFS variable at all times. If the variable is not set and is used in a command, $LFS will be ignored and whatever is left will be executed. A command like <userinput>echo "root:x:0:0:root:/root:/bin/bash" > -$LFS/etc/passwd</userinput> without the $LFS variable set will +$LFS/etc/passwd</userinput> without the LFS variable set will re-create your host system's /etc/passwd file. Simply put: it will destroy your current password database file.</para> <para>One way to make sure that $LFS is set at all times is adding it to the /root/.bash_profile and /root/.bashrc files so that every time you login as user root, or you <userinput>su</userinput> to user root, -the $LFS variable is set.</para> +the LFS variable is set.</para> </sect1> |