diff --git a/chapter06/devices.xml b/chapter06/devices.xml index 24a9aa58d..4d6d1a245 100644 --- a/chapter06/devices.xml +++ b/chapter06/devices.xml @@ -35,10 +35,11 @@ populate /dev ourselves. Begin by mounti Since we do not have the Udev package installed yet, we'll create a minimal set of device nodes to use for building: -mknod -m 600 /dev/console c 5 1 -mknod -m 600 /dev/null c 1 3 -mknod -m 600 /dev/zero c 1 5 -mknod -m 600 /dev/ptmx c 5 2 +mknod -m 622 /dev/console c 5 1 +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} There are some symlinks and directories required by LFS that are not created by Udev, so we create those ourselves here: