]> sourceware.org Git - lvm2.git/commit
config: add report/compact_output_cols to control which columns to compact in report...
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 16 Oct 2015 14:25:51 +0000 (16:25 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 16 Oct 2015 15:05:54 +0000 (17:05 +0200)
commitc3bfe07f2ad393963af5b7138bccc622e6561c8f
tree0bf4669d21edcfd93206d639b2172595301109db
parent508f0f5a21af8decf32944e01ecf17c0059a9c9f
config: add report/compact_output_cols to control which columns to compact in report output

The new report/compact_output_cols setting has exactly the same effect
as report/compact_output setting. The difference is that with the new
setting it's possible to define which cols should be compacted exactly
in contrast to all cols in case of report/compact_output.

In case both compact_output and compact_output_cols is enabled/set,
the compact_output prevails.

For example:

$ lvmconfig --type full report/compact_output report/compact_output_cols
compact_output=0
compact_output_cols=""

$ lvs vg
  LV    VG   Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  lvol0 vg   -wi-a----- 4.00m

---

$ lvmconfig --type full report/compact_output report/compact_output_cols
compact_output=0
compact_output_cols="data_percent,metadata_percent,pool_lv,move_pv,origin"

$ lvs vg
  LV    VG   Attr       LSize Log Cpy%Sync Convert
  lvol0 vg   -wi-a----- 4.00m

---

$ lvmconfig --type full report/compact_output report/compact_output_cols
compact_output=1
compact_output_cols="data_percent,metadata_percent,pool_lv,move_pv,origin"

$ lvs vg
  LV    VG   Attr       LSize
  lvol0 vg   -wi-a----- 4.00m
WHATS_NEW
conf/example.conf.in
lib/config/config_settings.h
lib/config/defaults.h
libdm/libdevmapper.h
tools/reporter.c
This page took 0.037205 seconds and 5 git commands to generate.