summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-07-30 23:16:39 +0000
committerJeremy Katz <katzj@redhat.com>2002-07-30 23:16:39 +0000
commitb53050b0d6ce31695b588c0b5f178368d8fc4706 (patch)
tree4db52eb4cdd7a2a9d79083aceae84a9e571823e3 /fsset.py
parentdc2f215f540ce9b0cfcc3a90b5f982468fb779e5 (diff)
downloadanaconda-b53050b0d6ce31695b588c0b5f178368d8fc4706.tar.gz
anaconda-b53050b0d6ce31695b588c0b5f178368d8fc4706.tar.xz
anaconda-b53050b0d6ce31695b588c0b5f178368d8fc4706.zip
we don't support partitionless upgrades anymore and this code is broken if you have a line with just '#' (#70181)
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/fsset.py b/fsset.py
index bf422482a..5534f05e8 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1804,17 +1804,6 @@ def readFstab (path):
if not fields: continue
- # pick up the magic comment in fstab that tells us which
- # device is the loop host in a partionless upgrade
- if fields[0] == "#" and fields[1].startswith("LOOP"):
- device = string.lower(fields[1])
- if device[len(device) - 1] == ":":
- device = device[:len(device) - 1]
- realDevice = fields[2]
- if realDevice.startswith('/dev/'):
- realDevice = realDevice[5:]
- loopIndex[device] = (realDevice, fields[3])
-
if line[0] == "#":
# skip all comments
continue