[PC-BSD Commits] r17355 - pcbsd/current/overlays/install-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Wed Jun 20 13:00:08 PDT 2012


Author: kris
Date: 2012-06-20 20:00:07 +0000 (Wed, 20 Jun 2012)
New Revision: 17355

Modified:
   pcbsd/current/overlays/install-overlay/etc/SetupInstall.sh
   pcbsd/current/overlays/install-overlay/etc/pcbsd-rc.sh
Log:

Shrink our memory footprint a bit more, see if we can install on 256MB of ram :)



Modified: pcbsd/current/overlays/install-overlay/etc/SetupInstall.sh
===================================================================
--- pcbsd/current/overlays/install-overlay/etc/SetupInstall.sh	2012-06-20 19:40:19 UTC (rev 17354)
+++ pcbsd/current/overlays/install-overlay/etc/SetupInstall.sh	2012-06-20 20:00:07 UTC (rev 17355)
@@ -8,7 +8,7 @@
 sysMem=`/sbin/sysctl hw.realmem | /bin/cut -d ' ' -f 2`
 minSize=`/bin/expr 500 \* 1024 \* 1024`
 if [ $sysMem -lt $minSize ] ; then
-  MDSIZE="10"
+  MDSIZE="2"
   echo "Creating ${MDSIZE}MB ramdisk..."
   /sbin/mdmfs -S -s ${MDSIZE}M -O space md2 /memfs
 

Modified: pcbsd/current/overlays/install-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/current/overlays/install-overlay/etc/pcbsd-rc.sh	2012-06-20 19:40:19 UTC (rev 17354)
+++ pcbsd/current/overlays/install-overlay/etc/pcbsd-rc.sh	2012-06-20 20:00:07 UTC (rev 17355)
@@ -18,7 +18,7 @@
 kldload geom_uzip
 
 # Create a /tmp file system with some extra space
-/sbin/mdmfs -S -s 20M -O space md6 /tmp
+/sbin/mdmfs -S -s 10M -O space md6 /tmp
 
 # Create zfs tmpdir
 mkdir /tmp/zfs
@@ -53,11 +53,11 @@
 fi
 
 # Extract the etc-dist.txz
-/sbin/mdmfs -S -s 8M -O space md10 /etc
+/sbin/mdmfs -S -s 5M -O space md10 /etc
 /usr/bin/tar xvf /uzip/etc-dist.txz -C /etc >/dev/null 2>/dev/null
 
 # Extract the var-dist.txz
-/sbin/mdmfs -S -s 8M -O space md9 /var
+/sbin/mdmfs -S -s 5M -O space md9 /var
 /usr/bin/tar xvf /uzip/var-dist.txz -C /var >/dev/null 2>/dev/null
 
 # Extract the root-dist.txz



More information about the Commits mailing list