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

svn at pcbsd.org svn at pcbsd.org
Mon Dec 7 06:10:48 PST 2009


Author: kris
Date: 2009-12-07 06:10:47 -0800 (Mon, 07 Dec 2009)
New Revision: 5275

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

Cleanup our tab formatting in /etc/fstab on the installed system



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh	2009-12-07 10:04:10 UTC (rev 5274)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-cleanup.sh	2009-12-07 14:10:47 UTC (rev 5275)
@@ -58,7 +58,7 @@
   rm ${FSTAB} >/dev/null 2>/dev/null
 
   # Create the header
-  echo "# Device		Mountpoint	FStype	Options		Dump	 Pass#" >> ${FSTAB}
+  echo "# Device		Mountpoint	FStype	Options	Dump Pass#" >> ${FSTAB}
 
   # Loop through the partitions, and start creating /etc/fstab
   for PART in `ls ${PARTDIR}`
@@ -107,9 +107,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



More information about the Commits mailing list