summaryrefslogtreecommitdiffstats
path: root/storage/__init__.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2009-04-30 14:52:48 -0400
committerPeter Jones <pjones@redhat.com>2009-04-30 16:55:45 -0400
commit57352b956a84d723c423e732efad8f9311c0d830 (patch)
tree7917c36f87094ae07e5444f1d3321b2c70a89f70 /storage/__init__.py
parentfa286e025330e451b6f50cca0c7da67edb2d8ba8 (diff)
downloadanaconda-57352b956a84d723c423e732efad8f9311c0d830.tar.gz
anaconda-57352b956a84d723c423e732efad8f9311c0d830.tar.xz
anaconda-57352b956a84d723c423e732efad8f9311c0d830.zip
Don't mount bind mounts last, that makes /dev break.
Remove the chunk of code that sortds bind mounts to the end. It appears to be completely bogus, and certainly breaks mounting of /dev during installation.
Diffstat (limited to 'storage/__init__.py')
-rw-r--r--storage/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index d7b53b61a..463d6c127 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1542,11 +1542,6 @@ class FSSet(object):
devices = self.mountpoints.values() + self.swapDevices
devices.extend([self.dev, self.devshm, self.devpts, self.sysfs, self.proc])
devices.sort(key=lambda d: getattr(d.format, "mountpoint", None))
- for device in devices[:]:
- # make sure all the bind mounts are at the end of the list
- if device.format.type == "bind":
- devices.remove(device)
- devices.append(device)
for device in devices:
if not device.format.mountable or not device.format.mountpoint: