[PC-BSD Commits] r6510 - pcbsd/trunk/SysInstaller

svn at pcbsd.org svn at pcbsd.org
Tue Apr 6 07:45:40 PDT 2010


Author: kris
Date: 2010-04-06 07:45:40 -0700 (Tue, 06 Apr 2010)
New Revision: 6510

Modified:
   pcbsd/trunk/SysInstaller/backend.cpp
Log:

Updated SysInstaller, list free space even if no slices on disk



Modified: pcbsd/trunk/SysInstaller/backend.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/backend.cpp	2010-04-06 13:56:05 UTC (rev 6509)
+++ pcbsd/trunk/SysInstaller/backend.cpp	2010-04-06 14:45:40 UTC (rev 6510)
@@ -360,6 +360,9 @@
             drive << "DRIVE" << dev << size << devinfo << type;
             drives.append(drive);
 
+            // Init lastslize in case this disk is completely empty
+            lastslice = "s0";
+
             // Get the slice information for this disk
             Process ppp(QStringList() << "disk-part" << dev);
             if (ppp.waitForFinished()) {



More information about the Commits mailing list