summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2007-01-15 22:22:11 +0000
committerPeter Jones <pjones@redhat.com>2007-01-15 22:22:11 +0000
commit942cfe18e5695eb04e452e7c872aaeb09c072bc5 (patch)
treeb487ed16792de8daf5f49f7c8e42b30977fb772e
parent8d60cd6e1a90a44f630aa7145c8993699fd086fc (diff)
downloadanaconda-942cfe18e5695eb04e452e7c872aaeb09c072bc5.tar.gz
anaconda-942cfe18e5695eb04e452e7c872aaeb09c072bc5.tar.xz
anaconda-942cfe18e5695eb04e452e7c872aaeb09c072bc5.zip
- run lvm with stderr on tty5, not tty6, since X is on tty6
-rw-r--r--ChangeLog4
-rw-r--r--lvm.py8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index cc8ae66c7..e68971108 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-15 Peter Jones <pjones@redhat.com>
+
+ * lvm.py: use tty5 not tty6 for lvm output, since X is on tty6.
+
2007-01-15 Chris Lumens <clumens@redhat.com>
* text.py (InstallInterface.run): Don't display the unsupported
diff --git a/lvm.py b/lvm.py
index 8ba17aa85..774f2966e 100644
--- a/lvm.py
+++ b/lvm.py
@@ -198,7 +198,7 @@ def lvlist():
"--nosuffix", "--separator", ":", "--options",
"vg_name,lv_name,lv_size,origin"
]
- lvscanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty6")
+ lvscanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty5")
for line in lvscanout.split("\n"):
try:
(vg, lv, size, origin) = line.strip().split(':')
@@ -226,7 +226,7 @@ def pvlist():
"--nosuffix", "--separator", ":", "--options",
"pv_name,vg_name,dev_size"
]
- scanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty6")
+ scanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty5")
for line in scanout.split("\n"):
try:
(dev, vg, size) = line.strip().split(':')
@@ -248,7 +248,7 @@ def vglist():
"--nosuffix", "--separator", ":", "--options",
"vg_name,vg_size,vg_extent_size"
]
- scanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty6")
+ scanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty5")
for line in scanout.split("\n"):
try:
(vg, size, pesize) = line.strip().split(':')
@@ -268,7 +268,7 @@ def partialvgs():
vgs = []
args = ["vgdisplay", "-C", "-P", "--noheadings", "--units", "b"]
- scanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty6")
+ scanout = iutil.execWithCapture("lvm", args, stderr = "/dev/tty5")
for line in scanout.split("\n"):
try:
(vg, numpv, numlv, numsn, attr, size, free) = line.strip()[:-1].split()