diff options
author | Peter Jones <pjones@redhat.com> | 2007-01-15 22:22:11 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2007-01-15 22:22:11 +0000 |
commit | 942cfe18e5695eb04e452e7c872aaeb09c072bc5 (patch) | |
tree | b487ed16792de8daf5f49f7c8e42b30977fb772e | |
parent | 8d60cd6e1a90a44f630aa7145c8993699fd086fc (diff) | |
download | anaconda-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | lvm.py | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -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 @@ -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() |