From de4f752c310da49cfe15cc9cc90886354511b5cc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 6 Aug 2007 11:21:09 +0000 Subject: - fix range max value >2TB when creating a partition (useful for LVs >2TB) nb: >> 11 and << 11 doesn't work on floats which we use to handle >2TB partitions. perl floats are precise enough up until 512TB --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install/any.pm') diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 956f1adff..6a6bb3d4c 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -132,7 +132,7 @@ sub getAvailableSpace_raw { if ($::testing) { my $nb = 450; log::l("taking ${nb}MB for testing"); - return $nb << 11; + return MB($nb); } die "missing root partition"; } -- cgit v1.2.1