diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-07-30 23:16:39 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-07-30 23:16:39 +0000 |
commit | b53050b0d6ce31695b588c0b5f178368d8fc4706 (patch) | |
tree | 4db52eb4cdd7a2a9d79083aceae84a9e571823e3 /fsset.py | |
parent | dc2f215f540ce9b0cfcc3a90b5f982468fb779e5 (diff) | |
download | anaconda-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.py | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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 |