Add devpts mounts
authorgroz <groz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 20 Aug 2006 05:32:43 +0000 (05:32 +0000)
committergroz <groz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 20 Aug 2006 05:32:43 +0000 (05:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4612 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/files/init

index 0c60acd63976f5ad5c33f04452b8a04272d90493..1fa6a7f1f61b0b2d7ad009220c877c4696ab64bd 100755 (executable)
@@ -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