Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/create_hdd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_hdd.sh')
-rwxr-xr-xcreate_hdd.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/create_hdd.sh b/create_hdd.sh
index 94df476..2862156 100755
--- a/create_hdd.sh
+++ b/create_hdd.sh
@@ -50,6 +50,11 @@ mount -t proc proc /proc
ln -s /proc/self/fd /dev/fd
mkdir /dev/pts
mount -t devpts devpts /dev/pts
+ln -s /proc/self/fd /dev/fd
+ln -s /proc/self/fd/0 /dev/stdin
+ln -s /proc/self/fd/1 /dev/stdout
+ln -s /proc/self/fd/2 /dev/stderr
+ln -s /proc/kcore /dev/core
mount -t sysfs sys /sys
mount -o remount,rw /
ip link set up dev eth0