Currently, udev won't start for me, as we've just mounted a new /dev,
which is completely empty, and udevd requires a /dev/null.
This change manually creates the three base device nodes (zero, null
and console) so that udev can start.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
exit 1
mkdir $udev_root/pts $udev_root/shm
+ mknod -m 0666 /dev/null c 1 3
+ mknod -m 0666 /dev/zero c 1 5
+ mknod -m 0600 /dev/console c 5 1
# populate /dev (normally)
echo -n "Populating $udev_root using udev: "