diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-22 16:30:05 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-22 16:30:05 -0400 |
commit | 0fd819189920c3227a73450c91d9deaf46640ca2 (patch) | |
tree | 6966aa01f73d736794bbb790ee1b34e2edb79a3c /etc/rc | |
parent | 22af75a3af0b55904f45e6ea001c5b05fa09291a (diff) | |
download | pfsense-0fd819189920c3227a73450c91d9deaf46640ca2.zip pfsense-0fd819189920c3227a73450c91d9deaf46640ca2.tar.gz |
Use unionfs for /
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -112,6 +112,7 @@ if [ "$PLATFORM" = "cdrom" ] ; then mkdir /tmp/unionfs/bin mkdir /tmp/unionfs/boot mkdir /tmp/unionfs/confdefault + mkdir /tmp/unionfs/diskroot echo -n "Mounting unionfs directories:" echo -n " usr" mount_unionfs /tmp/unionfs/usr /usr/ @@ -125,6 +126,8 @@ if [ "$PLATFORM" = "cdrom" ] ; then mount_unionfs /tmp/unionfs/boot /boot/ echo -n " conf.default" mount_unionfs /tmp/unionfs/confdefault /conf.default/ + echo -n " /" + mount_unionfs /tmp/unionfs/diskroot / echo "... done." fi |