diff options
author | Mike Fulbright <msf@redhat.com> | 2000-05-03 19:52:54 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-05-03 19:52:54 +0000 |
commit | caf4b4ca3cfd18ab5716dd707974f8226262a33d (patch) | |
tree | 6ee11941b2cbc854f3629aad802a07bb5b841653 /fstab.py | |
parent | e2dff0b66a53f29bb5a11ecc349129ac72d32972 (diff) | |
download | anaconda-caf4b4ca3cfd18ab5716dd707974f8226262a33d.tar.gz anaconda-caf4b4ca3cfd18ab5716dd707974f8226262a33d.tar.xz anaconda-caf4b4ca3cfd18ab5716dd707974f8226262a33d.zip |
made partition options tuple more managable
Diffstat (limited to 'fstab.py')
-rw-r--r-- | fstab.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -62,7 +62,10 @@ class Fstab: if partitions == None: return ddruid - for (mntpoint, size, maxsize, grow, device, fsopts) in partitions: + for (mntpoint, sizespec, locspec, typespec, fsopts) in partitions: + device = locspec + (size, maxsize, grow) = sizespec + type = 0x83 if (mntpoint == "swap"): mntpoint = "Swap%04d-auto" % swapCount @@ -83,7 +86,7 @@ class Fstab: if success == 1: # configure kickstart requested ext2 filesystem options - for (mntpoint, size, maxsize, grow, device, fsopts) in partitions: + for (mntpoint, sizespce, locspec, typespec, fsopts) in partitions: if fsopts != None: self.setfsOptions (mntpoint, fsopts) |