From 7a369b3c35b397207bffe00b7de765a5317177e9 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 4 Dec 2010 15:03:15 +0100 Subject: mkarchroot: add missing devices nodes /dev/tty, /dev/tty0 and /dev/full --- mkarchroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkarchroot b/mkarchroot index 07c93cf..b9c4fb5 100755 --- a/mkarchroot +++ b/mkarchroot @@ -98,6 +98,9 @@ chroot_mount() { mknod -m 600 "${working_dir}/dev/console" c 5 1 mknod -m 644 "${working_dir}/dev/random" c 1 8 mknod -m 644 "${working_dir}/dev/urandom" c 1 9 + mknod -m 666 "${working_dir}/dev/tty" c 5 0 + mknod -m 666 "${working_dir}/dev/tty0" c 4 0 + mknod -m 666 "${working_dir}/dev/full" c 1 7 ln -s /proc/kcore "${working_dir}/dev/core" ln -s /proc/self/fd "${working_dir}/dev/fd" ln -s /proc/self/fd/0 "${working_dir}/dev/stdin" -- cgit v1.2.3-70-g09d2