mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Add devpts mounts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4612 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
mount none /proc -t proc
|
mount none /proc -t proc
|
||||||
mount none /dev -t devfs
|
mount none /dev -t devfs
|
||||||
|
mount non /dev/pts -t devpts
|
||||||
|
|
||||||
# the root mount point can come from the kernel command line
|
# the root mount point can come from the kernel command line
|
||||||
# or it can be overridden in the preinit.arch file
|
# 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 /proc /mnt/proc
|
||||||
mount -o move /dev /mnt/dev
|
mount -o move /dev /mnt/dev
|
||||||
|
mount -o move /dev/pts /mnt/dev/pts
|
||||||
mount -o move /tmp /mnt/tmp
|
mount -o move /tmp /mnt/tmp
|
||||||
mount -o move /sys /mnt/sys
|
mount -o move /sys /mnt/sys
|
||||||
mount none /tmp -t tmpfs
|
mount none /tmp -t tmpfs
|
||||||
|
|||||||
Reference in New Issue
Block a user