summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc3
-rwxr-xr-xetc/rc.cdrom6
2 files changed, 3 insertions, 6 deletions
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
diff --git a/etc/rc.cdrom b/etc/rc.cdrom
index c1eb8f3..2018fe9 100755
--- a/etc/rc.cdrom
+++ b/etc/rc.cdrom
@@ -39,12 +39,6 @@ newfs /dev/${device} > /dev/null 2>&1
mount /dev/${device} /home
echo "done."
-echo -n "Generating a MFS / partition... "
-device=$(mdconfig -a -t malloc -s ${partsize})
-newfs /dev/${device} > /dev/null 2>&1
-mount /dev/${device} /
-echo "done."
-
# Create some needed directories
/bin/mkdir -p /var/db/pkg/
/bin/mkdir -p /var/tmp/vi.recover/
OpenPOWER on IntegriCloud