createfiles.xml 644 B

1234567891011121314151617
  1. <sect1 id="ch06-createfiles">
  2. <title>Creating a few missing files</title>
  3. <?dbhtml filename="createfiles.html" dir="chapter06"?>
  4. <para>A few files need to be created because programs hard-wire paths
  5. that don't exist yet. The most frequently ones used are
  6. <filename>/bin/sh</filename> and <filename>/dev/null</filename> so we'll be
  7. creating those for the time being and replace them properly when the file's
  8. package is (re)installed.</para>
  9. <para>Create the files by running the following commands:</para>
  10. <para><screen><userinput>ln -s /static/bin/bash /bin/sh &amp;&amp;
  11. mknod -m 0666 /dev/null c 1 3</userinput></screen></para>
  12. </sect1>