diff options
Diffstat (limited to 'chapter06/devices.xml')
-rw-r--r-- | chapter06/devices.xml | 9 |
1 files changed, 6 insertions, 3 deletions
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 @@ <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 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}</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 |