diff options
-rwxr-xr-x | etc/rc | 3 | ||||
-rwxr-xr-x | etc/rc.cdrom | 6 |
2 files changed, 3 insertions, 6 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 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/ |