[PC-BSD Commits] r5785 - pcbsd/trunk/pc-sysinstall/backend

svn at pcbsd.org svn at pcbsd.org
Tue Jan 5 12:15:26 PST 2010


Author: kris
Date: 2010-01-05 12:15:26 -0800 (Tue, 05 Jan 2010)
New Revision: 5785

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh
Log:

Setup pc-sysinstall to add tmpfs to /etc/fstab on installed system



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh	2010-01-05 19:06:01 UTC (rev 5784)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh	2010-01-05 20:15:26 UTC (rev 5785)
@@ -106,9 +106,9 @@
       # Echo out the fstab entry now
       if [ "${PARTFS}" = "SWAP" ]
       then
-        echo "/dev/${DEVICE}	none			swap		sw	0	0" >> ${FSTAB}
+        echo "/dev/${DEVICE}	none			swap		sw		0	0" >> ${FSTAB}
       else
-        echo "/dev/${DEVICE}  	${PARTMNT}			ufs		rw	1	1" >> ${FSTAB}
+        echo "/dev/${DEVICE}  	${PARTMNT}			ufs		rw		1	1" >> ${FSTAB}
       fi
 
     fi # End of ZFS Check
@@ -117,8 +117,9 @@
   # Setup some specific PC-BSD fstab options
   if [ "$INSTALLTYPE" != "FreeBSD" ]
   then
-    echo "procfs			/proc			procfs		rw	0	0" >> ${FSTAB}
-    echo "linprocfs		/compat/linux/proc	linprocfs	rw	0	0" >> ${FSTAB}
+    echo "procfs			/proc			procfs		rw		0	0" >> ${FSTAB}
+    echo "linprocfs		/compat/linux/proc	linprocfs	rw		0	0" >> ${FSTAB}
+    echo "tmpfs				/tmp			tmpfs		rw,mode=1777	0	0" >> ${FSTAB}
   fi
 
 };



More information about the Commits mailing list