[PC-BSD Commits] r2810 - in pcbsd: branches/7.0/PCInstall trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Tue Sep 23 07:59:38 PDT 2008


Author: kris
Date: 2008-09-23 07:59:38 -0700 (Tue, 23 Sep 2008)
New Revision: 2810

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

Removed some old code from our installer GUI, now we let fdisk sort out the partition
boundaries in PCBSD.FormatPartition.sh script



Modified: pcbsd/branches/7.0/PCInstall/pcinstall.cpp
===================================================================
--- pcbsd/branches/7.0/PCInstall/pcinstall.cpp	2008-09-23 14:57:22 UTC (rev 2809)
+++ pcbsd/branches/7.0/PCInstall/pcinstall.cpp	2008-09-23 14:59:38 UTC (rev 2810)
@@ -1042,18 +1042,7 @@
     }
 	    
 	    
-  
-	    
-	      // Create a fdisk config file for the selected partition
-	   QFile file( "/tmp/fdiskconfig" );
-	   if ( file.open( IO_WriteOnly ) ) {
-	       QTextStream stream( &file );
-	      stream <<  "p\t" << tmp << "\t165\t" << PartitionStartBlk[PartNum] << "\t" << PartitionTotalBlk[PartNum];
-	       file.close();
-	   }
-	   
-	//   QMessageBox::warning( this, "PCBSD Installer",  "running fdisk", "Retry", "Quit", 0, 0, 1 );
-	   
+        // Now run the FormatPartition.sh script to set this partition type to 165(FBSD)
 	textFileProgress->setText(tr("Running fdisk on ") + RootPartition);
 	installProgress->setProgress(2);
 	FormatPartition = new Q3Process(this);

Modified: pcbsd/trunk/PCInstall/pcinstall.cpp
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.cpp	2008-09-23 14:57:22 UTC (rev 2809)
+++ pcbsd/trunk/PCInstall/pcinstall.cpp	2008-09-23 14:59:38 UTC (rev 2810)
@@ -1042,18 +1042,7 @@
     }
 	    
 	    
-  
-	    
-	      // Create a fdisk config file for the selected partition
-	   QFile file( "/tmp/fdiskconfig" );
-	   if ( file.open( IO_WriteOnly ) ) {
-	       QTextStream stream( &file );
-	      stream <<  "p\t" << tmp << "\t165\t" << PartitionStartBlk[PartNum] << "\t" << PartitionTotalBlk[PartNum];
-	       file.close();
-	   }
-	   
-	//   QMessageBox::warning( this, "PCBSD Installer",  "running fdisk", "Retry", "Quit", 0, 0, 1 );
-	   
+        // Now run the FormatPartition.sh script to set this partition type to 165(FBSD)
 	textFileProgress->setText(tr("Running fdisk on ") + RootPartition);
 	installProgress->setProgress(2);
 	FormatPartition = new Q3Process(this);



More information about the Commits mailing list