move makedev to before glibc and remove manual /dev/null creation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2058 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Mark Hymers 2002-08-15 20:36:23 +00:00
parent 63d5562d8c
commit 4735209374
3 changed files with 13 additions and 10 deletions

View File

@ -51,6 +51,11 @@
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
<listitem><para>August 15th, 2002 [markh]: Chapter 06 - Move the MAKEDEV
installation to before glibc and remove the temporary creation of
<filename>/dev/null</filename> as we don't need it
anymore.</para></listitem>
<listitem><para>August 15th, 2002 [timothy]: Chapter 04 - Preparing a new <listitem><para>August 15th, 2002 [timothy]: Chapter 04 - Preparing a new
partition: mentioned that a swap partition can be shared between the LFS partition: mentioned that a swap partition can be shared between the LFS
and host systems, grammatic changes.</para></listitem> and host systems, grammatic changes.</para></listitem>

View File

@ -11,9 +11,9 @@
&c6-mtablink; &c6-mtablink;
&c6-mountproc; &c6-mountproc;
&c6-createfiles; &c6-createfiles;
&c6-makedev;
&c6-kernel; &c6-kernel;
&c6-glibc; &c6-glibc;
&c6-makedev;
&c6-gcc; &c6-gcc;
&c6-zlib; &c6-zlib;
&c6-manpages; &c6-manpages;

View File

@ -1,17 +1,15 @@
<sect1 id="ch06-createfiles"> <sect1 id="ch06-createfiles">
<title>Creating a few missing files</title> <title>Creating the /bin/sh symlink</title>
<?dbhtml filename="createfiles.html" dir="chapter06"?> <?dbhtml filename="createfiles.html" dir="chapter06"?>
<para>A few files need to be created because programs hard-wire paths <para>Some programs hard-wire paths that don't exist yet. The only one
that don't exist yet. The most frequently ones used are which may cause us trouble is <filename>/bin/sh</filename>.
<filename>/bin/sh</filename> and <filename>/dev/null</filename> so we'll be We therefore create this for the time being and replace it
creating those for the time being and replace them properly when the file's properly when the bash package is (re)installed.</para>
package is (re)installed.</para>
<para>Create the files by running the following commands:</para> <para>Create the /bin/sh symlink by running the following commands:</para>
<para><screen><userinput>ln -s /static/bin/bash /bin/sh &amp;&amp; <para><screen><userinput>ln -s /static/bin/bash /bin/sh</userinput></screen></para>
mknod -m 0666 /dev/null c 1 3</userinput></screen></para>
</sect1> </sect1>