Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mkarchroot
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-12-04 15:03:15 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-12-04 15:03:15 +0100
commit7a369b3c35b397207bffe00b7de765a5317177e9 (patch)
tree6c9a91a4ba51c0ee82503610fc531f980dec1371 /mkarchroot
parenta17eaf3be8b794fc4ec571b5730ff1983f8d450b (diff)
mkarchroot: add missing devices nodes
/dev/tty, /dev/tty0 and /dev/full
Diffstat (limited to 'mkarchroot')
-rwxr-xr-xmkarchroot3
1 files changed, 3 insertions, 0 deletions
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"