[pve-devel] r6131 - pve-installer/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Jun 21 11:13:45 CEST 2011


Author: dietmar
Date: 2011-06-21 11:13:45 +0200 (Tue, 21 Jun 2011)
New Revision: 6131

Modified:
   pve-installer/pve2/proxinstall
Log:
use ext4


Modified: pve-installer/pve2/proxinstall
===================================================================
--- pve-installer/pve2/proxinstall	2011-06-21 08:43:07 UTC (rev 6130)
+++ pve-installer/pve2/proxinstall	2011-06-21 09:13:45 UTC (rev 6131)
@@ -624,11 +624,11 @@
 
 	if ( -b $target_hd) {
 	    $bootdev = get_boot_part ($target_hd);
-	    create_filesystem ($bootdev, 'boot', 'ext3', 0.05, $maxper, 0, 0.1);
-	    create_filesystem ($rootdev, 'root', 'ext3', 0.05, $maxper, 0.1, 0.5);
-	    create_filesystem ($datadev, 'data', 'ext3', 0.05, $maxper, 0.5, 1, '-m 0');
+	    create_filesystem ($bootdev, 'boot', 'ext2', 0.05, $maxper, 0, 0.1);
+	    create_filesystem ($rootdev, 'root', 'ext4', 0.05, $maxper, 0.1, 0.5);
+	    create_filesystem ($datadev, 'data', 'ext4', 0.05, $maxper, 0.5, 1, '-m 0');
 	} else {
-	    create_filesystem ($rootdev, 'root', 'ext3', 0.05, $maxper, 0, 1);
+	    create_filesystem ($rootdev, 'root', 'ext4', 0.05, $maxper, 0, 1);
 	}
 
 	update_progress (1, 0.05, $maxper, "mounting target $rootdev");
@@ -742,11 +742,11 @@
 
 	my $fstab = 
 	    "# <file system> <mount point> <type> <options> <dump> <pass>\n" .
-	    "$rootdev / ext3 errors=remount-ro 0 1\n";
+	    "$rootdev / ext4 errors=remount-ro 0 1\n";
 
-	$fstab .= "$datadev /var/lib/vz ext3 defaults 0 1\n" if $datadev;
+	$fstab .= "$datadev /var/lib/vz ext4 defaults 0 1\n" if $datadev;
 
-	$fstab .= "${boot_uuid} /boot ext3 defaults 0 1\n" if $boot_uuid;
+	$fstab .= "${boot_uuid} /boot ext2 defaults 0 1\n" if $boot_uuid;
 
 	$fstab .= "$swapfile none swap sw 0 0\n" if $swapfile;
 




More information about the pve-devel mailing list