[PC-BSD Commits] r6995 - in pcbsd: current/mfsroot-overlay/etc stable/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Mon Jun 21 12:52:56 PDT 2010


Author: kris
Date: 2010-06-21 12:52:56 -0700 (Mon, 21 Jun 2010)
New Revision: 6995

Modified:
   pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh
   pcbsd/stable/mfsroot-overlay/etc/pcbsd-rc.sh
Log:

Increase /tmp memfs size for both live & install mode



Modified: pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh	2010-06-21 17:49:30 UTC (rev 6994)
+++ pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh	2010-06-21 19:52:56 UTC (rev 6995)
@@ -141,11 +141,10 @@
         bootlive=$l
 fi
 
-# Create a /tmp file system with some extra space
-/sbin/mdmfs -S -s 5M -O space md6 /tmp
-
 if [ "$bootlive" = "YES" -a -e "/cdmnt/PCBSD.ufs.uzip" ]
 then
+  # Create a /tmp file system with some extra space
+  /sbin/mdmfs -S -s 15M -O space md6 /tmp
 
   MEM=`sysctl hw.realmem | cut -d " " -f 2`
 
@@ -153,6 +152,10 @@
   sh /etc/SetupLive.sh
 
 else
+
+  # Create a /tmp file system with some extra space
+  /sbin/mdmfs -S -s 8M -O space md6 /tmp
+
   
   # Make sure boot_livedvd is unset
   /bin/kenv -q -u boot_livedvd

Modified: pcbsd/stable/mfsroot-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/stable/mfsroot-overlay/etc/pcbsd-rc.sh	2010-06-21 17:49:30 UTC (rev 6994)
+++ pcbsd/stable/mfsroot-overlay/etc/pcbsd-rc.sh	2010-06-21 19:52:56 UTC (rev 6995)
@@ -141,11 +141,10 @@
         bootlive=$l
 fi
 
-# Create a /tmp file system with some extra space
-/sbin/mdmfs -S -s 5M -O space md6 /tmp
-
 if [ "$bootlive" = "YES" -a -e "/cdmnt/PCBSD.ufs.uzip" ]
 then
+  # Create a /tmp file system with some extra space
+  /sbin/mdmfs -S -s 15M -O space md6 /tmp
 
   MEM=`sysctl hw.realmem | cut -d " " -f 2`
 
@@ -153,6 +152,10 @@
   sh /etc/SetupLive.sh
 
 else
+
+  # Create a /tmp file system with some extra space
+  /sbin/mdmfs -S -s 8M -O space md6 /tmp
+
   
   # Make sure boot_livedvd is unset
   /bin/kenv -q -u boot_livedvd



More information about the Commits mailing list