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

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Jun 28 06:38:29 CEST 2011


Author: dietmar
Date: 2011-06-28 06:38:29 +0200 (Tue, 28 Jun 2011)
New Revision: 6188

Modified:
   pve-installer/pve2/proxinstall
Log:
use noatime to speedup things


Modified: pve-installer/pve2/proxinstall
===================================================================
--- pve-installer/pve2/proxinstall	2011-06-28 04:33:41 UTC (rev 6187)
+++ pve-installer/pve2/proxinstall	2011-06-28 04:38:29 UTC (rev 6188)
@@ -641,11 +641,11 @@
 	    syscmd ("udevadm trigger --subsystem-match block");
 	    syscmd ("udevadm settle --timeout 10");
 
-	    syscmd ("mount -n $rootdev -o barrier=0 $targetdir") == 0 ||
+	    syscmd ("mount -n $rootdev -o noatime,barrier=0 $targetdir") == 0 ||
 		die "unable to mount $rootdev\n";
 
 	    mkdir "$targetdir/boot";
-	    syscmd ("mount -n $bootdev -o barrier=0 $targetdir/boot") == 0 ||
+	    syscmd ("mount -n $bootdev -o noatime,barrier=0 $targetdir/boot") == 0 ||
 		die "unable to mount $bootdev\n";
 
 	    mkdir "$targetdir/var";
@@ -655,7 +655,7 @@
 		die "unable to mount $datadev\n";
 
 	} else {
-	    syscmd ("mount $rootdev $targetdir -o loop") == 0 ||
+	    syscmd ("mount $rootdev $targetdir -o loop,noatime,barrier=0") == 0 ||
 		die "unable to mount $rootdev\n";
 	}
 




More information about the pve-devel mailing list