summaryrefslogtreecommitdiffstats
path: root/dmraid.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-06 15:12:13 -0400
committerChris Lumens <clumens@redhat.com>2009-04-06 17:03:07 -0400
commit4a4d34beae0e24ab1c2f6cbf42472a77add9aaef (patch)
tree839b5770d6938e851a9cbb2629bb68ac34a46929 /dmraid.py
parent337ec9cccdad8d958d5465eb5fdf433f17851fb8 (diff)
downloadanaconda-4a4d34beae0e24ab1c2f6cbf42472a77add9aaef.tar.gz
anaconda-4a4d34beae0e24ab1c2f6cbf42472a77add9aaef.tar.xz
anaconda-4a4d34beae0e24ab1c2f6cbf42472a77add9aaef.zip
Remove partedUtils.py.
Diffstat (limited to 'dmraid.py')
-rw-r--r--dmraid.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/dmraid.py b/dmraid.py
index 58aa5592e..8d0711684 100644
--- a/dmraid.py
+++ b/dmraid.py
@@ -34,7 +34,6 @@ if not _bdModulePath in oldPath:
block.setBdevidPath(_bdModulePath + oldPath)
del oldPath
-import partedUtils
import raid
from flags import flags
@@ -228,14 +227,6 @@ def register_raid_device(dmname, newdevices, newlevel, newnumActive):
"""Register a new RAID device in the dmlist."""
raise NotImplementedError
-def lookup_raid_device(dmname):
- """Return the requested RAID device information."""
- for rs, parent, devices, level, nrDisks, totalDisks in \
- partedUtils.DiskSet.dmList:
- if dmname == rs.name:
- return (rs.name, devices, level, totalDisks)
- raise KeyError, "dm device not found"
-
def scanForMPath(drives):
log.debug("scanning for multipath on drives %s" % (drives,))
mpaths = []