summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2007-11-05 10:59:27 -0500
committerDavid Cantrell <dcantrell@redhat.com>2007-11-05 11:20:18 -0500
commit3ece62c81763baddc3499d14d63c1323d9b71fea (patch)
treeb6d587b82ae921b8ce97a62273132bf99f14486e /partedUtils.py
parentb3bb3e6e9eb80e7736bba642f665bc6a02cb7278 (diff)
downloadanaconda-3ece62c81763baddc3499d14d63c1323d9b71fea.tar.gz
anaconda-3ece62c81763baddc3499d14d63c1323d9b71fea.tar.xz
anaconda-3ece62c81763baddc3499d14d63c1323d9b71fea.zip
Re-add progress bar for DASD formatting.
From Jan Glauber <jang AT linux DOT vnet DOT ibm DOT com>. Invoke the dasdfmt command with the -P switch to enable the progress bar.
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 273f37232..8a3a83bdf 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -974,9 +974,10 @@ class DiskSet:
"-b", "4096",
"-d", "cdl",
"-F",
+ "-P",
"-f",
dev]
-
+
fd = os.open("/dev/null", os.O_RDWR | os.O_CREAT | os.O_APPEND)
p = os.pipe()
childpid = os.fork()