mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
Add devpts mounts
SVN-Revision: 4612
This commit is contained in:
parent
576ee513c8
commit
58b3ea7e86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user