diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-03-05 20:13:31 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-03-05 20:13:31 +0000 |
commit | debe1b56f3a5c008c40942617a509e2263c1ea18 (patch) | |
tree | a5fc50662101427ab5e603df22fda4e16d1a37e7 /chapter05/gzip-exp.xml | |
parent | 7cec66e8249658c727133f0a1d7dff8f8298db4f (diff) |
xml fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gzip-exp.xml')
-rw-r--r-- | chapter05/gzip-exp.xml | 8 |
1 files changed, 4 insertions, 4 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 +&& 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 |