diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-10-25 18:18:39 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-10-25 18:18:39 +0000 |
commit | 5fc1fb4f6e22098c06dec29acbdafe799a00fbf7 (patch) | |
tree | fafd46659b6a855577fc122f42a79c4c58594acf /isys/isys.py | |
parent | afd5d06eafb944b82f7b29645b12913ff6ddedc2 (diff) | |
download | anaconda-5fc1fb4f6e22098c06dec29acbdafe799a00fbf7.tar.gz anaconda-5fc1fb4f6e22098c06dec29acbdafe799a00fbf7.tar.xz anaconda-5fc1fb4f6e22098c06dec29acbdafe799a00fbf7.zip |
2007-10-25 Jeremy Katz <katzj@redhat.com>
* isys/isys.py (driveDict): Ignore sg devices (#330931)
Diffstat (limited to 'isys/isys.py')
-rw-r--r-- | isys/isys.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py index 3a4554c03..c554a9c10 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -422,6 +422,11 @@ def driveDict(klassArg): else: continue + # we can't actually use the sg devices, so ignore them + if device.startswith("sg"): + log.info("ignoring sg device %s" %(device,)) + continue + if dev.deviceclass != classMap["disk"]: new[device] = dev continue |