From 0fd819189920c3227a73450c91d9deaf46640ca2 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 22 May 2010 16:30:05 -0400 Subject: Use unionfs for / --- etc/rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 97ceee5..3d2ad5b 100755 --- a/etc/rc +++ b/etc/rc @@ -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 -- cgit v1.1