r6666 - in trunk/BOOK: chapter01 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Fri Aug 12 12:44:33 PDT 2005


Author: matthew
Date: 2005-08-12 13:44:32 -0600 (Fri, 12 Aug 2005)
New Revision: 6666

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/devices.xml
Log:
Expand explanation of device node creation in chapter 6 (fixes bug 1593)

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2005-08-12 19:26:25 UTC (rev 6665)
+++ trunk/BOOK/chapter01/changelog.xml	2005-08-12 19:44:32 UTC (rev 6666)
@@ -112,6 +112,9 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>August 12th, 2005 [matt]: Expand explanation of device node
+creation at the start of chapter 6.</para></listitem>
+
 <listitem><para>August 6th, 2005 [matt]: Fix incorrect version number for
 expect's installed library (Bug 1608)</para></listitem>
 

Modified: trunk/BOOK/chapter06/devices.xml
===================================================================
--- trunk/BOOK/chapter06/devices.xml	2005-08-12 19:26:25 UTC (rev 6665)
+++ trunk/BOOK/chapter06/devices.xml	2005-08-12 19:44:32 UTC (rev 6666)
@@ -14,8 +14,12 @@
 
 <para>When the kernel boots the system, it requires the presence of a few device
 nodes, in particular the <filename class="devicefile">console</filename> and
-<filename class="devicefile">null</filename> devices. Create these by
-running the following commands:</para>
+<filename class="devicefile">null</filename> devices.  The device nodes will
+be created on the hard disk so that they are available before
+<command>udev</command> has been started, and additionally when Linux is started
+in single user mode (hence the restrictive permissions on
+<filename class="devicefile">console</filename>).  Create the devices by running
+the following commands:</para>
 
 <screen><userinput>mknod -m 600 /dev/console c 5 1
 mknod -m 666 /dev/null c 1 3</userinput></screen>
@@ -48,7 +52,6 @@
 mknod -m 444 /dev/random c 1 8
 mknod -m 444 /dev/urandom c 1 9
 chown root:tty /dev/{console,ptmx,tty}</userinput></screen>
-<!-- -->
 
 <para>There are some symlinks and directories required by LFS that are created
 during system startup by the LFS-Bootscripts package. Since this is a chroot




More information about the lfs-book mailing list