diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-08-12 19:44:32 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-08-12 19:44:32 +0000 |
commit | a55f08682ab5c07be2818fa0c871917069af867e (patch) | |
tree | 05761383ef501fd2f4e29b65938b95845a988524 /chapter06 | |
parent | 7b303d47a0f2f2152e128d91b35478b9eb69bafa (diff) |
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
Diffstat (limited to 'chapter06')
-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 |