From a55f08682ab5c07be2818fa0c871917069af867e Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Fri, 12 Aug 2005 19:44:32 +0000 Subject: Expand explanation of device node creation in chapter 6 (fixes bug 1593) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/devices.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'chapter06') diff --git a/chapter06/devices.xml b/chapter06/devices.xml index 22bb3bdb7..87bfd6a32 100644 --- a/chapter06/devices.xml +++ b/chapter06/devices.xml @@ -14,8 +14,12 @@ When the kernel boots the system, it requires the presence of a few device nodes, in particular the console and -null devices. Create these by -running the following commands: +null devices. The device nodes will +be created on the hard disk so that they are available before +udev has been started, and additionally when Linux is started +in single user mode (hence the restrictive permissions on +console). Create the devices by running +the following commands: mknod -m 600 /dev/console c 5 1 mknod -m 666 /dev/null c 1 3 @@ -48,7 +52,6 @@ mknod -m 666 /dev/tty c 5 0 mknod -m 444 /dev/random c 1 8 mknod -m 444 /dev/urandom c 1 9 chown root:tty /dev/{console,ptmx,tty} - 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 -- cgit v1.2.3-54-g00ecf