diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-04 05:09:06 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-04 05:09:06 +0000 |
commit | 460b392858d970cfa1ba29411ff7d3fe857daf4b (patch) | |
tree | 4e1b208b84c71063732b777924dbf418f38272c6 /partitions.py | |
parent | 7d676d4195037a2baf7767fbda388703d1ed170a (diff) | |
download | anaconda-460b392858d970cfa1ba29411ff7d3fe857daf4b.tar.gz anaconda-460b392858d970cfa1ba29411ff7d3fe857daf4b.tar.xz anaconda-460b392858d970cfa1ba29411ff7d3fe857daf4b.zip |
dont want ALL RAID devices, just those which are physical volumes
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/partitions.py b/partitions.py index b3e0b9553..66bedc4e2 100644 --- a/partitions.py +++ b/partitions.py @@ -368,6 +368,12 @@ class Partitions: raidcounter = 0 for dev in raiddev: used = 0 + + if dev.fstype is None: + continue + if dev.fstype.getName() != "physical volume (LVM)": + continue + for volgroup in volgroups: if volgroup.physicalVolumes: if dev.uniqueID in volgroup.physicalVolumes: |