aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-25 00:21:12 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-25 00:21:12 +0000
commit1987d724ce4059e12b51962be50c59d30a4a148d (patch)
tree1c165b6c8cf19ed18668659078a71692e228b59e /chapter06/createfiles.xml
parent5e2cb652195321c7f63b5d22077e583b75118178 (diff)
second set of commits for keep-chap5-chap6-seperate
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r--chapter06/createfiles.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
new file mode 100644
index 000000000..ac3076c7a
--- /dev/null
+++ b/chapter06/createfiles.xml
@@ -0,0 +1,17 @@
+<sect1 id="ch06-createfiles">
+<title>Creating a few missing files</title>
+<?dbhtml filename="createfiles.html" dir="chapter06"?>
+
+<para>A few files need to be created because programs hard-wire paths
+that don't exist yet. The most frequently ones used are
+<filename>/bin/sh</filename> and <filename>/dev/null</filename> so we'll be
+creating those for the time being and replace them properly when the file's
+package is (re)installed.</para>
+
+<para>Create the files by running the following commands:</para>
+
+<para><screen><userinput>ln -s /static/bin/bash /bin/sh &amp;&amp;
+mknod -m 0666 /dev/null c 1 3</userinput></screen></para>
+
+</sect1>
+