diff options
author | Matt Wilson <msw@redhat.com> | 2000-02-01 21:24:35 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-02-01 21:24:35 +0000 |
commit | d8be426f1622d7c95d8ede3118c87dac5baa1a0e (patch) | |
tree | bccd59cc313e24706ae356f83ff982356aeaf495 /fstab.py | |
parent | 44d29ea59647c60411688b7dda2c684852cda958 (diff) | |
download | anaconda-d8be426f1622d7c95d8ede3118c87dac5baa1a0e.tar.gz anaconda-d8be426f1622d7c95d8ede3118c87dac5baa1a0e.tar.xz anaconda-d8be426f1622d7c95d8ede3118c87dac5baa1a0e.zip |
got raid swap working
Diffstat (limited to 'fstab.py')
-rw-r--r-- | fstab.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -196,6 +196,12 @@ class Fstab: fstab.append((partition, 1)) + # Add raid mounts to mount list + (devices, raid) = self.raidList() + for (mntpoint, device, fsType, raidType, start, size, makeup) in raid: + if fsType != "swap": continue + fstab.append((device, 1)) + for n in self.extraFilesystems: (mntpoint, device, fsType, doFormat, size) = n if fsType != "swap": continue @@ -215,6 +221,8 @@ class Fstab: if self.swapOn: return self.swapOn = 1 + print "turning on swap", self.swapList() + iutil.mkdirChain('/tmp/swap') for (device, doFormat) in self.swapList(): @@ -344,6 +352,7 @@ class Fstab: w.pop() # XXX remove extraneous inodes here + print "created raid" if not self.setupFilesystems: return |