Bug#761676: lvm2: lvs output format too long wraps on standard sized terminals

2016-03-10 Thread Bob Proulx
severity 761676 wishlist
thanks

Zdenek Kabelac wrote:
> Bob Proulx wrote:
> > Since the latest update the "lvs" command now emits output lines that
> > are so long that they wrap on standard sized terminals.
> 
> see the 'lvm.conf'report { compact_output = 1 }
> 
> I'd consider the problem as solved...
> Please close

Oh!  I had never heard of that option before.  I tried it.  It isn't
perfect but it is good enough.  Thank you very much for telling me
about that option!

It would be great if this were the default option.  And with that I
have converted this to a wishlist.  Please set compact_output=1 as the
default option so that it isn't required for everone to maintain a
locally modified lvm.conf file past package upgrades.

Thanks!
Bob



Bug#761676: lvm2: lvs output format too long wraps on standard sized terminals

2016-03-10 Thread Zdenek Kabelac

On Mon, 15 Sep 2014 11:12:17 -0600 Bob Proulx  wrote:

Package: lvm2
Version: 2.02.111-1
Severity: normal

Since the latest update the "lvs" command now emits output lines that
are so long that they wrap on standard sized terminals.

For example previously:

# lvs
  LV   VG   Attr LSize   Pool Origin Data%  Move Log Copy%  Convert
  audio v1   -wi-ao 100.00g
  bak1  v1   -wi-ao 140.00g
  chrt  v1   -wi-ao  30.00g
  home  v1   -wi-ao 202.26g
  lcl   v1   -wi-ao  93.13g
  lcl2  v1   -wi-ao 123.83g
  root  v1   -wi-ao  16.00g
  srv   v1   -wi-ao  18.62g
  swap  v1   -wi-ao   7.45g
  test  v1   -wi-a- 100.00m
  var   v1   -wi-ao   5.59g

Now with 2.02.111-1 this output includes trailing whitespace out to
column 83 causing each line to wrap in an unpleasant way.

# lvs
  LVVG   Attr   LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync 
Convert

  audio v1   -wi-ao 100.00g

  bak1  v1   -wi-ao 140.00g

  chrt  v1   -wi-ao  30.00g

  home  v1   -wi-ao 202.26g

  lcl   v1   -wi-ao  93.13g

  lcl2  v1   -wi-ao 123.83g

  root  v1   -wi-ao  16.00g

  srv   v1   -wi-ao  18.62g

  swap  v1   -wi-ao   7.45g

  test  v1   -wi-a- 100.00m

  var   v1   -wi-ao   5.59g

This makes the output more difficult to read than before.



see the 'lvm.conf'report { compact_output = 1 }

I'd consider the problem as solved...
Please close

Regards

Zdenek



Bug#761676: lvm2: lvs output format too long wraps on standard sized terminals

2014-09-15 Thread Bob Proulx
Package: lvm2
Version: 2.02.111-1
Severity: normal

Since the latest update the lvs command now emits output lines that
are so long that they wrap on standard sized terminals.

For example previously:

# lvs
  LV   VG   Attr LSize   Pool Origin Data%  Move Log Copy%  Convert
  audio v1   -wi-ao 100.00g
  bak1  v1   -wi-ao 140.00g
  chrt  v1   -wi-ao  30.00g
  home  v1   -wi-ao 202.26g
  lcl   v1   -wi-ao  93.13g
  lcl2  v1   -wi-ao 123.83g
  root  v1   -wi-ao  16.00g
  srv   v1   -wi-ao  18.62g
  swap  v1   -wi-ao   7.45g
  test  v1   -wi-a- 100.00m
  var   v1   -wi-ao   5.59g

Now with 2.02.111-1 this output includes trailing whitespace out to
column 83 causing each line to wrap in an unpleasant way.

# lvs
  LVVG   Attr   LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync 
Convert

  audio v1   -wi-ao 100.00g

  bak1  v1   -wi-ao 140.00g

  chrt  v1   -wi-ao  30.00g

  home  v1   -wi-ao 202.26g

  lcl   v1   -wi-ao  93.13g

  lcl2  v1   -wi-ao 123.83g

  root  v1   -wi-ao  16.00g

  srv   v1   -wi-ao  18.62g

  swap  v1   -wi-ao   7.45g

  test  v1   -wi-a- 100.00m

  var   v1   -wi-ao   5.59g

This makes the output more difficult to read than before.

Here is a workaround for those reading this.  Trim the unnecessary
white space from the end of the lines.

  # lvs | sed 's/ *$//g'

Thank you for maintaining LVM in Debian.

Bob


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  dmeventd  2:1.02.90-1
ii  dmsetup   2:1.02.90-1
ii  init-system-helpers   1.21
ii  initscripts   2.88dsf-53.4
ii  libc6 2.19-11
ii  libdevmapper-event1.02.1  2:1.02.90-1
ii  libdevmapper1.02.12:1.02.90-1
ii  libreadline5  5.2+dfsg-2
ii  libudev1  208-8
ii  lsb-base  4.1+Debian13

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org