diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-26 18:28:53 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-26 18:28:53 +0000 |
commit | 2f3cf904978fa90f82bc85cb5ed5e62577bc96ba (patch) | |
tree | 0a90efed61982a767e489b112d0c51f8c82fd147 /fsset.py | |
parent | 163a906dc101776102d8871f450611eca555ee34 (diff) | |
download | anaconda-2f3cf904978fa90f82bc85cb5ed5e62577bc96ba.tar.gz anaconda-2f3cf904978fa90f82bc85cb5ed5e62577bc96ba.tar.xz anaconda-2f3cf904978fa90f82bc85cb5ed5e62577bc96ba.zip |
don't assume that all swap files piggyback on loopback filesystem hostsancaonda-fairfax-beta-3
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1272,8 +1272,9 @@ def readFstab (path): if file[:15] == "/initrd/loopfs/": file = file[14:] - - device = PiggybackSwapFileDevice("/mnt/loophost", file) + device = PiggybackSwapFileDevice("/mnt/loophost", file) + else: + device = SwapFileDevice("/mnt/loophost", file) elif fields[0][:9] == "/dev/loop": # look up this loop device in the index to find the # partition that houses the filesystem image |