[PC-BSD Commits] r16359 - pcbsd/current/src-qt4/pc-installgui

svn at pcbsd.org svn at pcbsd.org
Wed Apr 11 08:54:24 PDT 2012


Author: kris
Date: 2012-04-11 15:54:23 +0000 (Wed, 11 Apr 2012)
New Revision: 16359

Modified:
   pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp
Log:

When doing ZFS mirrors / raidz use GPT mode



Modified: pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp	2012-04-11 15:53:09 UTC (rev 16358)
+++ pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp	2012-04-11 15:54:23 UTC (rev 16359)
@@ -99,6 +99,10 @@
   if (comboPartition->currentIndex() == 0 )
     useGPT = checkGPT->isChecked();
 
+  // When doing advanced ZFS setups, make sure to use GPT
+  if ( radioAdvanced->isChecked() && groupZFSOpts->isChecked() )
+    useGPT = true;
+
   if ( radioExpert->isChecked() )
     emit saved(sysFinalDiskLayout, false, false);
   else



More information about the Commits mailing list