diff options
author | Mike Fulbright <msf@redhat.com> | 2002-02-01 23:32:25 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-02-01 23:32:25 +0000 |
commit | 210d6a886e6b29bbdc910c1d01611b3c8edae781 (patch) | |
tree | 762e9ff2a04e3f10936a8b2b1e49907d00c784b9 /autopart.py | |
parent | 577adda544f4447c2946c36b3fd3a4aec8ae5667 (diff) | |
download | anaconda-210d6a886e6b29bbdc910c1d01611b3c8edae781.tar.gz anaconda-210d6a886e6b29bbdc910c1d01611b3c8edae781.tar.xz anaconda-210d6a886e6b29bbdc910c1d01611b3c8edae781.zip |
lots of lvm ui fixes and sanity checking
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/autopart.py b/autopart.py index ad1ee206f..6364183af 100644 --- a/autopart.py +++ b/autopart.py @@ -717,14 +717,15 @@ def processPartitioning(diskset, requests, newParts): if request.type == REQUEST_RAID and not request.device: request.device = str(request.uniqueID) if request.type == REQUEST_VG and not request.device: - request.device = request.volumeGroupName + request.device = str(request.uniqueID) # anything better we can use for the logical volume? if request.type == REQUEST_LV and not request.device: request.device = str(request.uniqueID) if request.type == REQUEST_RAID: request.size = get_raid_device_size(request, requests, diskset) / 1024 / 1024 - + elif request.type == REQUEST_VG: + request.size = get_lvm_volume_group_size(request, requests, diskset) / 1024 / 1024 if not request.device: # return PARTITION_FAIL raise PartitioningError, "Unsatisfied partition request\n%s" %(request) |