diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-12-04 15:03:15 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-12-04 15:03:15 +0100 |
commit | 7a369b3c35b397207bffe00b7de765a5317177e9 (patch) | |
tree | 6c9a91a4ba51c0ee82503610fc531f980dec1371 /mkarchroot | |
parent | a17eaf3be8b794fc4ec571b5730ff1983f8d450b (diff) | |
download | devtools32-7a369b3c35b397207bffe00b7de765a5317177e9.tar.xz |
mkarchroot: add missing devices nodes
/dev/tty, /dev/tty0 and /dev/full
Diffstat (limited to 'mkarchroot')
-rwxr-xr-x | mkarchroot | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |