diff options
Diffstat (limited to 'chapter06/devices.xml')
-rw-r--r-- | chapter06/devices.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter06/devices.xml b/chapter06/devices.xml index 4d6d1a245..557b0d2c3 100644 --- a/chapter06/devices.xml +++ b/chapter06/devices.xml @@ -39,7 +39,10 @@ minimal set of device nodes to use for building:</para> mknod -m 666 /dev/null c 1 3 mknod -m 666 /dev/zero c 1 5 mknod -m 666 /dev/ptmx c 5 2 -chown root:tty /dev/{console,ptmx}</userinput></screen> +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 not created by Udev, so we create those ourselves here:</para> |