[PC-BSD Commits] r2120 - in pcbsd/trunk/mfsroot-overlay: . bin etc

svn at pcbsd.org svn at pcbsd.org
Wed Jun 18 14:06:36 PDT 2008


Author: kris
Date: 2008-06-18 14:06:35 -0700 (Wed, 18 Jun 2008)
New Revision: 2120

Added:
   pcbsd/trunk/mfsroot-overlay/bin/
   pcbsd/trunk/mfsroot-overlay/bin/cut
   pcbsd/trunk/mfsroot-overlay/bin/du
Modified:
   pcbsd/trunk/mfsroot-overlay/etc/rc
Log:

Fixed logic in rc startup script, and also added du / cut to mfsroot, so we can figure out the size of uzip
compressed filesystem. 



Added: pcbsd/trunk/mfsroot-overlay/bin/cut


Property changes on: pcbsd/trunk/mfsroot-overlay/bin/cut
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: pcbsd/trunk/mfsroot-overlay/bin/du


Property changes on: pcbsd/trunk/mfsroot-overlay/bin/du
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Modified: pcbsd/trunk/mfsroot-overlay/etc/rc
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/rc	2008-06-18 16:13:52 UTC (rev 2119)
+++ pcbsd/trunk/mfsroot-overlay/etc/rc	2008-06-18 21:06:35 UTC (rev 2120)
@@ -81,7 +81,7 @@
 
 # Setup the /uzip memory device
 echo "Mounting /uzip"
-MDSIZE="`/usr/bin/du -m /mnt/uzip/usr.uzip | /usr/bin/cut -f 1`"
+MDSIZE="`/bin/du -m /mnt/uzip/usr.uzip | /bin/cut -f 1`"
 MDSIZE="`/bin/expr ${MDSIZE} + 2`"
 echo "Creating ${MDSIZE}MB ramdisk..."
 /sbin/mdmfs -S -s ${MDSIZE}M -O space md2 /uzip



More information about the Commits mailing list