[PC-BSD Commits] r4034 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Wed Jun 3 07:43:02 PDT 2009


Author: kris
Date: 2009-06-03 07:43:00 -0700 (Wed, 03 Jun 2009)
New Revision: 4034

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh
Log:

Added -f flag when creating zfs pools, fixes bug when trying to install with ZFS on top of a old ZFS drive



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh	2009-06-03 14:34:36 UTC (rev 4033)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh	2009-06-03 14:43:00 UTC (rev 4034)
@@ -44,7 +44,7 @@
   do
     echo "Running Newfs on ${DevName}"
     BASENAME="`echo $DevName | cut -d '/' -f 3`"
-    zpool create ${BASENAME} ${DevName}
+    zpool create -f ${BASENAME} ${DevName}
     zfs set mountpoint=none ${BASENAME}
   done
 



More information about the Commits mailing list