summaryrefslogtreecommitdiffstats
path: root/storage/udev.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-07-09 09:08:58 +0200
committerHans de Goede <hdegoede@redhat.com>2009-07-09 09:08:58 +0200
commit5f083354638243926be4c1f87da190390fe6c807 (patch)
tree5139c7363c1fe55fd432e69a132bb9672673a4a2 /storage/udev.py
parent3917cabf1823d37e6a11c7ccfb4abae7c8fdc30f (diff)
downloadanaconda-5f083354638243926be4c1f87da190390fe6c807.tar.gz
anaconda-5f083354638243926be4c1f87da190390fe6c807.tar.xz
anaconda-5f083354638243926be4c1f87da190390fe6c807.zip
Reverse: "Support for MD containers"
Reverse most of commit 9e4d2e76713c9c71dcdaf22767211c13be9b3668, because it currently is not working and MD containers can for 99.9 % be treated as regular mdarrays. The next patch from this set instead makes the necessary changes to use the regular mdarray handling code, reducing the amount of code.
Diffstat (limited to 'storage/udev.py')
-rw-r--r--storage/udev.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/udev.py b/storage/udev.py
index aa2f7d98a..7571baf9f 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -218,10 +218,6 @@ def udev_device_is_dm(info):
""" Return True if the device is a device-mapper device. """
return info.has_key("DM_NAME")
-def udev_device_is_md_container(info):
- """ Return True if the device is a mdraid container device. """
- return info.get("MD_LEVEL") == "container"
-
def udev_device_is_md(info):
""" Return True if the device is a mdraid array device. """
return info.has_key("MD_DEVNAME") and \