[PC-BSD Commits] r8196 - pcbsd/stable/SysInstaller

svn at pcbsd.org svn at pcbsd.org
Fri Dec 10 14:12:14 PST 2010


Author: kris
Date: 2010-12-10 14:12:14 -0800 (Fri, 10 Dec 2010)
New Revision: 8196

Modified:
   pcbsd/stable/SysInstaller/sys-diskwidget.cpp
Log:

MFC fix to ZFS auto-partition with 500MB UFS /boot



Modified: pcbsd/stable/SysInstaller/sys-diskwidget.cpp
===================================================================
--- pcbsd/stable/SysInstaller/sys-diskwidget.cpp	2010-12-10 22:10:09 UTC (rev 8195)
+++ pcbsd/stable/SysInstaller/sys-diskwidget.cpp	2010-12-10 22:12:14 UTC (rev 8196)
@@ -443,6 +443,10 @@
           swapsize = 512;
        totalSize = totalSize - swapsize;
 
+       // Setup a UFS boot partition
+       totalSize = totalSize - 500;
+       fileSystem << targetDisk << targetSlice << "/boot" << "UFS" << tmp.setNum(500) << "" << "";
+
        // Add the main zfs pool with standard partitions
        fileSystem << targetDisk << targetSlice << "/,/var,/usr" << "ZFS" << tmp.setNum(totalSize) << "" << "";
        qDebug() << "Auto-Gen FS:" <<  fileSystem;



More information about the Commits mailing list