[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 2/2] Fix list of 64-bit arches.
- From: Bill Nottingham <notting redhat com>
- To: anaconda-devel-list redhat com
- Cc: Bill Nottingham <notting redhat com>
- Subject: [PATCH 2/2] Fix list of 64-bit arches.
- Date: Tue, 7 Jul 2009 22:38:00 -0400
'sparc' and 's390' are what are returned by iutil.getArch; however, we don't
actually support 31/32-bit installs on those machines.
Signed-off-by: Bill Nottingham <notting redhat com>
---
storage/devicelibs/lvm.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
index 2196170..a5eb59d 100644
--- a/storage/devicelibs/lvm.py
+++ b/storage/devicelibs/lvm.py
@@ -129,7 +129,7 @@ def getPossiblePhysicalExtents(floor=0):
def getMaxLVSize():
""" Return the maximum size (in MB) of a logical volume. """
- if iutil.getArch() in ("x86_64", "ppc64"): #64bit architectures
+ if iutil.getArch() in ("x86_64", "ppc64", "alpha", "ia64", "s390", "sparc"): #64bit architectures
return (8*1024*1024*1024*1024) #Max is 8EiB (very large number..)
else:
return (16*1024*1024) #Max is 16TiB
--
1.6.2.5
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]