diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-12-05 11:46:26 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-12-05 12:00:28 +0100 |
commit | 00d53d5fc172ee396ea835a110126f83202724d5 (patch) | |
tree | 900786ece6993c022e7ef147f0dae04c3775724f /conf | |
parent | 5edf6a56c4077edd238bf08bf369e7d82bca4ecf (diff) | |
download | lvm2-00d53d5fc172ee396ea835a110126f83202724d5.tar.gz |
config: add report/compact_output lvm.conf setting to enable or isable field compacting
$ lvm dumpconfig report/compact_output
compact_output=0
$ lvs vg
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lvol0 vg owi-a-s--- 4.00m
lvol1 vg -wi-a----- 4.00m
lvol2 vg swi-a-s--- 4.00m lvol0 0.00
$ lvm dumpconfig report/compact_output
compact_output=1
$ lvs vg
LV VG Attr LSize Origin Data%
lvol0 vg owi-a-s--- 4.00m
lvol1 vg -wi-a----- 4.00m
lvol2 vg swi-a-s--- 4.00m lvol0 0.00
Diffstat (limited to 'conf')
-rw-r--r-- | conf/example.conf.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in index d1a139717..5ed2b9253 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -1104,6 +1104,10 @@ activation { # Report settings. # # report { + # If compact output is enabled, fields which don't have value + # set for any of the rows reported are skipped on output. + # compact_output=0 + # Align columns on report output. # aligned=1 |