diff options
author | Chris Lumens <clumens@redhat.com> | 2009-04-06 15:12:13 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-04-06 17:03:07 -0400 |
commit | 4a4d34beae0e24ab1c2f6cbf42472a77add9aaef (patch) | |
tree | 839b5770d6938e851a9cbb2629bb68ac34a46929 /dmraid.py | |
parent | 337ec9cccdad8d958d5465eb5fdf433f17851fb8 (diff) | |
download | anaconda-4a4d34beae0e24ab1c2f6cbf42472a77add9aaef.tar.gz anaconda-4a4d34beae0e24ab1c2f6cbf42472a77add9aaef.tar.xz anaconda-4a4d34beae0e24ab1c2f6cbf42472a77add9aaef.zip |
Remove partedUtils.py.
Diffstat (limited to 'dmraid.py')
-rw-r--r-- | dmraid.py | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 = [] |