diff options
author | Mike Fulbright <msf@redhat.com> | 2001-01-12 19:34:14 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-01-12 19:34:14 +0000 |
commit | e1e4d459287dbdc90b0de0957229b492d46b6305 (patch) | |
tree | 01b3a8bc56d5a8a894c761d8aeb147b3cca0cd7c /silo.py | |
parent | bcca68131a29501f8312061d1389718e99aa1809 (diff) | |
download | anaconda-e1e4d459287dbdc90b0de0957229b492d46b6305.tar.gz anaconda-e1e4d459287dbdc90b0de0957229b492d46b6305.tar.xz anaconda-e1e4d459287dbdc90b0de0957229b492d46b6305.zip |
added boolean to partitionList() to tell us if partition is preexisting or not
Diffstat (limited to 'silo.py')
-rw-r--r-- | silo.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,7 +102,7 @@ class SiloInstall: self.siloImages = {} nSolaris = 0 nSunOS = 0 - for (dev, devName, type, start, size, maxcyl) in drives: + for (dev, devName, type, start, size, maxcyl, preexist) in drives: # ext2 and raid partitions get listed if # 1) they're / # 2) they're not mounted @@ -152,7 +152,7 @@ class SiloInstall: i = i - 1 boothd = bootpart[:i+1] (drives, raid) = fstab.partitionList() - for (dev, devName, type, start, size, maxcyl) in drives: + for (dev, devName, type, start, size, maxcyl, preexist) in drives: i = len (dev) - 1 while i > 0 and dev[i] in string.digits: i = i - 1 |