diff options
author | dlehman <dlehman> | 2007-02-08 19:15:02 +0000 |
---|---|---|
committer | dlehman <dlehman> | 2007-02-08 19:15:02 +0000 |
commit | 7583bd6a1dcf030f56fabf496ee868dd10edfc78 (patch) | |
tree | b8bc15fe0441a533a26577597f98ced082a57272 | |
parent | 90ed081290ee77141187066dcd53e3cb9ffb888a (diff) | |
download | anaconda-7583bd6a1dcf030f56fabf496ee868dd10edfc78.tar.gz anaconda-7583bd6a1dcf030f56fabf496ee868dd10edfc78.tar.xz anaconda-7583bd6a1dcf030f56fabf496ee868dd10edfc78.zip |
* isys/isys.py (getDasdState): unformatted DASDs now show up as
"unformatted" in /proc/dasd/devices (#227546)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | isys/isys.py | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-02-08 Dave Lehman <dlehman@redhat.com> + + * isys/isys.py (getDasdState): unformatted DASDs now show up as + "unformatted" in /proc/dasd/devices (#227546) + 2007-02-06 Peter Jones <pjones@redhat.com> * anaconda.spec: Bump version. diff --git a/isys/isys.py b/isys/isys.py index fc6a7257a..7c3c8bcd4 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -421,7 +421,7 @@ def getDasdState(dev): if not line.startswith(devs[dev]): continue # 2.6 seems to return basic - if line.find(" basic") != -1: + if line.find(" basic") != -1 or line.find(" unformatted") != -1: return 1 return 0 |