lfs/chapter06/createfiles.xml
Gerard Beekmans bc82645e95 Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-05-02 18:20:20 +00:00

34 lines
1.0 KiB
XML

<sect1 id="ch06-createfiles">
<title>Creating essential symlinks</title>
<?dbhtml filename="createfiles.html" dir="chapter06"?>
<para>Some programs hard-wire paths to programs which don't exist yet. In
order to satisfy these programs, we create a number of symbolic links which
will be replaced by real files throughout the course of this chapter when
we're installing all the software.</para>
<para><screen><userinput>ln -sf /stage1/bin/bash /bin
ln -sf bash /bin/sh
ln -sf /stage1/bin/pwd /bin
ln -sf /stage1/bin/perl /usr/bin
ln -sf /stage1/bin/cat /bin
ln -sf /stage1/bin/stty /bin
ln -sf /stage1/bin/msgfmt /usr/bin
ln -sf /stage1/bin/xgettext /usr/bin
ln -sf /stage1/bin/msgmerge /usr/bin
ln -sf /stage1/bin/install /usr/bin
ln -sf /usr/bin/install /bin
ln -sf /stage1/bin/echo /bin
ln -sf /stage1/bin/sed /bin
ln -sf /stage1/bin/awk /bin
ln -sf /stage1/bin/rm /bin
ln -sf /stage1/bin/mv /bin
ln -sf /stage1/bin/chmod /bin
ln -sf /stage1/bin/chgrp /bin
ln -sf /stage1/bin/sort /usr/bin
ln -sf /stage1/bin/cmp /usr/bin</userinput></screen></para>
</sect1>