aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-05 20:13:31 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-05 20:13:31 +0000
commitdebe1b56f3a5c008c40942617a509e2263c1ea18 (patch)
treea5fc50662101427ab5e603df22fda4e16d1a37e7
parent7cec66e8249658c727133f0a1d7dff8f8298db4f (diff)
xml fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter05/gzip-exp.xml8
-rw-r--r--chapter05/installasuser.xml2
2 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/gzip-exp.xml b/chapter05/gzip-exp.xml
index f228ad4d9..8ab485d00 100644
--- a/chapter05/gzip-exp.xml
+++ b/chapter05/gzip-exp.xml
@@ -1,10 +1,10 @@
<sect2>
<title>Command explanations</title>
-<para><userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &&
-rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip:</userinput> The reason we don't
-simply use <quote>mv</quote> to move the files to the new location is
-because gunzip is a hardlink to gzip. On older distributions you can't
+<para><userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin
+&amp;&amp; rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip:</userinput> The reason
+we don't simply use <quote>mv</quote> to move the files to the new location
+is because gunzip is a hardlink to gzip. On older distributions you can't
move a hardlink to another partition (and it's very possible that $LFS and
$LFS/usr are separate partitions). With more recent distributions this
isn't a problem. If you run mv to move hardlinks across partitions it'll
diff --git a/chapter05/installasuser.xml b/chapter05/installasuser.xml
index c8939d6a4..21d455ec1 100644
--- a/chapter05/installasuser.xml
+++ b/chapter05/installasuser.xml
@@ -27,7 +27,7 @@ the normal way through the console or the display manager, or with
<userinput>su - lfs</userinput>. When you're working as user "lfs", type
the following commands to setup a good environment to work in:</para>
-<para><screen><userinput>cat > ~/.bash_profile << "EOF"
+<para><screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"
umask 022
LFS=/mnt/lfs