createfiles.xml 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <sect1 id="ch06-createfiles">
  2. <title>Creating essential symlinks</title>
  3. <?dbhtml filename="createfiles.html" dir="chapter06"?>
  4. <para>Some programs hard-wire paths to programs which don't exist yet. In
  5. order to satisfy these programs, we create a number of symbolic links which
  6. will be replaced by real files throughout the course of this chapter when
  7. we're installing all the software.</para>
  8. <para><screen><userinput>ln -sf /stage1/bin/bash /bin
  9. ln -sf bash /bin/sh
  10. ln -sf /stage1/bin/pwd /bin
  11. ln -sf /stage1/bin/perl /usr/bin
  12. ln -sf /stage1/bin/cat /bin
  13. ln -sf /stage1/bin/stty /bin
  14. ln -sf /stage1/bin/msgfmt /usr/bin
  15. ln -sf /stage1/bin/xgettext /usr/bin
  16. ln -sf /stage1/bin/msgmerge /usr/bin
  17. ln -sf /stage1/bin/install /usr/bin
  18. ln -sf /usr/bin/install /bin
  19. ln -sf /stage1/bin/echo /bin
  20. ln -sf /stage1/bin/sed /bin
  21. ln -sf /stage1/bin/awk /bin
  22. ln -sf /stage1/bin/rm /bin
  23. ln -sf /stage1/bin/mv /bin
  24. ln -sf /stage1/bin/chmod /bin
  25. ln -sf /stage1/bin/chgrp /bin
  26. ln -sf /stage1/bin/sort /usr/bin
  27. ln -sf /stage1/bin/cmp /usr/bin</userinput></screen></para>
  28. </sect1>