1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19880 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2010-02-26 22:46:10 +00:00
parent 554c407f4b
commit 61b3612483
6 changed files with 176 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ pivot() { # <new_root> <old_root>
mount -o move $2/tmp /tmp
mount -o move $2/sys /sys 2>&-
mount -o move $2/jffs /jffs 2>&-
mount -o move $2/overlay /overlay 2>&-
return 0
}
}