From cdf97b133a5a443dfb2b9d2b8cd52b7b3a42d69f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 22 May 2010 15:01:19 -0400 Subject: [PATCH] Generate a MFS partition for / since ZFS likes to mount its disk on / --- etc/rc.cdrom | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/rc.cdrom b/etc/rc.cdrom index 2018fe9ee7..c1eb8f3b23 100755 --- a/etc/rc.cdrom +++ b/etc/rc.cdrom @@ -39,6 +39,12 @@ 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/