[PC-BSD Commits] r4079 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Wed Jun 10 11:09:18 PDT 2009


Author: kris
Date: 2009-06-10 11:09:16 -0700 (Wed, 10 Jun 2009)
New Revision: 4079

Modified:
   pcbsd/trunk/PCInstall/pcinstall.cpp
Log:

Change our disk partition editor, don't create multiple ZFS pools on the same disk. When using ZFS, just
have one large ZFS partition. 



Modified: pcbsd/trunk/PCInstall/pcinstall.cpp
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.cpp	2009-06-10 15:53:24 UTC (rev 4078)
+++ pcbsd/trunk/PCInstall/pcinstall.cpp	2009-06-10 18:09:16 UTC (rev 4079)
@@ -263,6 +263,11 @@
     
         if ( Page == tr("Advanced Disk Setup") )
     {
+        // Check if we are using ZFS and disable the Add partition slot, we only want 1 pool on this disk
+        if ( comboFileSystem->currentItem() == 3 )
+        {
+           pushSliceAdd->setEnabled(FALSE);
+        }
 	
 	if ( regenCustomSlices == 1) {
 	   // Setup the initial slice layout



More information about the Commits mailing list