summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlehman <dlehman>2007-02-08 19:15:02 +0000
committerdlehman <dlehman>2007-02-08 19:15:02 +0000
commit7583bd6a1dcf030f56fabf496ee868dd10edfc78 (patch)
treeb8bc15fe0441a533a26577597f98ced082a57272
parent90ed081290ee77141187066dcd53e3cb9ffb888a (diff)
downloadanaconda-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--ChangeLog5
-rw-r--r--isys/isys.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f1a50012f..e8dd191f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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