[PC-BSD Commits] r6264 - pcbsd/trunk/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Tue Feb 16 11:19:31 PST 2010


Author: kris
Date: 2010-02-16 11:19:31 -0800 (Tue, 16 Feb 2010)
New Revision: 6264

Modified:
   pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh
   pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh
Log:

Shrink our RAM footprint a bit when booting



Modified: pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh	2010-02-16 18:59:38 UTC (rev 6263)
+++ pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh	2010-02-16 19:19:31 UTC (rev 6264)
@@ -4,7 +4,7 @@
 # Setup the /uzip memory device
 echo "Mounting /uzip"
 MDSIZE="`/bin/du -m /cdmnt/uzip/usr.uzip | /bin/cut -f 1`"
-MDSIZE="`/bin/expr ${MDSIZE} + 8`"
+MDSIZE="`/bin/expr ${MDSIZE} + 7`"
 echo "Creating ${MDSIZE}MB ramdisk..."
 /sbin/mdmfs -S -s ${MDSIZE}M -O space md2 /uzip
 

Modified: pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh	2010-02-16 18:59:38 UTC (rev 6263)
+++ pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh	2010-02-16 19:19:31 UTC (rev 6264)
@@ -142,7 +142,7 @@
 fi
 
 # Create a /tmp file system with some extra space
-/sbin/mdmfs -S -s 15M -O space md6 /tmp
+/sbin/mdmfs -S -s 5M -O space md6 /tmp
 
 if [ "$bootlive" = "YES" -a -e "/cdmnt/PCBSD.ufs.uzip" ]
 then



More information about the Commits mailing list