| 12345678910111213141516 | <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 reasonwe don't simply use <quote>mv</quote> to move the files to the new locationis because gunzip is a hardlink to gzip. On older distributions you can'tmove a hardlink to another partition (and it's very possible that $LFS and$LFS/usr are separate partitions). With more recent distributions thisisn't a problem. If you run mv to move hardlinks across partitions it'lljust do a regular <quote>cp</quote> and discard the hardlink. But, wecan't assume that every host distribution has a new enough kernel andfileutils that works this way.</para></sect2>
 |