[PATCH] Ignore MTDs, as we do not have the tools to write to them (#916771).

Chris Lumens clumens at redhat.com
Mon Mar 4 15:39:04 UTC 2013


---
 blivet/devicetree.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index 88ba130..c154343 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -501,6 +501,10 @@ class DeviceTree(object):
         if name.startswith("ram"):
             return True
 
+        # Memory Technology Devices require special tools to manipulate.
+        if name.startswith("mtd"):
+            return True
+
         if name.startswith("loop"):
             # ignore loop devices unless they're backed by a file
             return (not devicelibs.loop.get_backing_file(name))
-- 
1.8.1.2



More information about the anaconda-patches mailing list