summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-26 18:28:53 +0000
committerMatt Wilson <msw@redhat.com>2001-07-26 18:28:53 +0000
commit2f3cf904978fa90f82bc85cb5ed5e62577bc96ba (patch)
tree0a90efed61982a767e489b112d0c51f8c82fd147 /fsset.py
parent163a906dc101776102d8871f450611eca555ee34 (diff)
downloadanaconda-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.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fsset.py b/fsset.py
index a2d83924d..6e255fab3 100644
--- a/fsset.py
+++ b/fsset.py
@@ -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