aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files
diff options
context:
space:
mode:
authorGerry Rozema <gerryr@rozeware.com>2006-08-20 05:32:43 +0000
committerGerry Rozema <gerryr@rozeware.com>2006-08-20 05:32:43 +0000
commit312d22c6438e68d2a93d3b01d58d7f9f4d5ef5bf (patch)
tree0979a6d2093bc3224b1248cc091dc395456fd8b9 /target/linux/generic-2.6/files
parent018e2cfd9d90820e3b837f2fa2bce7a674779824 (diff)
downloadupstream-312d22c6438e68d2a93d3b01d58d7f9f4d5ef5bf.tar.gz
upstream-312d22c6438e68d2a93d3b01d58d7f9f4d5ef5bf.tar.bz2
upstream-312d22c6438e68d2a93d3b01d58d7f9f4d5ef5bf.zip
Add devpts mounts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4612 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files')
-rwxr-xr-xtarget/linux/generic-2.6/files/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/init b/target/linux/generic-2.6/files/init
index 0c60acd639..1fa6a7f1f6 100755
--- a/target/linux/generic-2.6/files/init
+++ b/target/linux/generic-2.6/files/init
@@ -4,6 +4,7 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount none /proc -t proc
mount none /dev -t devfs
+mount non /dev/pts -t devpts
# the root mount point can come from the kernel command line
# or it can be overridden in the preinit.arch file
@@ -74,6 +75,7 @@ unset rootfs
mount -o move /proc /mnt/proc
mount -o move /dev /mnt/dev
+mount -o move /dev/pts /mnt/dev/pts
mount -o move /tmp /mnt/tmp
mount -o move /sys /mnt/sys
mount none /tmp -t tmpfs