1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
Peter Rajnoha da545ce3b4 tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option
The --binary option, if used, causes all the binary values reported
in reporting commands to be displayed as "0" or "1" instead of descriptive
literal values (value "unknown" is still used for values that could not be
determined).

Also, add report/binary_values_as_numeric lvm.conf option with the same
functionality as the --binary option (the --binary option prevails
if both --binary cmd option and report/binary_values_as_numeric lvm.conf
option is used at the same time). The report/binary_values_as_numeric is
also profilable.

This makes it easier to use and check lvm reporting command output in scripts.
2014-07-04 15:40:17 +02:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
args.h tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
dmsetup.c dmsetup: no need to check for "help" field name after report init 2014-06-19 18:22:51 +02:00
dumpconfig.c dumpconfig: add --type profilable-command/profilable-metadata, --metadataprofile/--commandprofile 2014-05-20 16:27:07 +02:00
errors.h lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
formats.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvchange.c lvchange: better --refresh of raid and mirrors 2014-06-19 12:01:34 +02:00
lvconvert.c cleanup: drop inline and add prefix _ for static 2014-07-02 15:09:06 +02:00
lvcreate.c report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
lvdisplay.c report: select: add --select arg to pvdisplay, vgdisplay and lvdisplay 2014-06-17 16:27:20 +02:00
lvextend.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm2cmd-static.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmd.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm2cmd.h lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
lvm2cmdline.h Support repetition of --addtag and --deltag arguments. 2010-11-11 17:29:05 +00:00
lvm-static.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm.c readline: switch to new-style readline typedef 2014-03-06 17:28:40 +01:00
lvmchange.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvmcmdlib.c cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
lvmcmdline.c tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
lvmdiskscan.c Few more close and dev_close trace 2012-03-01 21:12:37 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c snapshot: move virtsnap code from tool to lib 2013-10-12 00:14:52 +02:00
lvrename.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
lvresize.c lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
lvscan.c report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
Makefile.in makefiles: link blkid library only to lvm 2014-03-06 17:30:10 +01:00
polldaemon.c report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
polldaemon.h Start using 64-bit status flags - most of the code already handles them. 2011-09-06 18:49:31 +00:00
pvchange.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
pvck.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
pvcreate.c tools: remove metadata-exported.h 2013-07-09 03:07:55 +01:00
pvdisplay.c report: select: add --select arg to pvdisplay, vgdisplay and lvdisplay 2014-06-17 16:27:20 +02:00
pvmove.c pvmove: tidy 2014-06-19 13:40:47 +01:00
pvremove.c pvremove: Catch CTRL-c during prompts. 2014-04-29 08:16:28 +01:00
pvresize.c pvresize: fail exit code for negative size 2014-03-25 11:52:03 +01:00
pvscan.c cleanup: use stack for small buffer 2014-06-17 13:42:45 +02:00
reporter.c reporter: add separate LVSINFO report type 2014-07-04 15:40:17 +02:00
segtypes.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
stub.h Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
tags.c tools: Add internal tags command. 2014-01-30 13:09:15 +00:00
toollib.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
toollib.h compilation: Rename tags variables to tagsl. 2014-01-30 21:09:28 +00:00
tools.h report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
vgcfgbackup.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
vgcfgrestore.c vgcfgrestore: return invalid cmd line 2014-05-21 23:14:41 +02:00
vgchange.c cleanup: add missing log_error 2014-06-10 10:51:26 +02:00
vgck.c vgck: Fix #894136, notice on-disk corruption in spite of lvmetad. 2013-08-13 23:25:49 +02:00
vgconvert.c vgconvert: Do not call lvmetad_vg_remove (path shared with vgcfgbackup). 2013-09-18 12:53:11 +02:00
vgcreate.c config: differentiate command and metadata profiles and consolidate profile handling code 2014-05-20 16:21:48 +02:00
vgdisplay.c report: select: add --select arg to pvdisplay, vgdisplay and lvdisplay 2014-06-17 16:27:20 +02:00
vgexport.c cleanup: vgexport drops pv pointer 2014-03-30 23:44:59 +02:00
vgextend.c vgextend: allow --yes to skip prompt 2014-05-23 23:35:40 +02:00
vgimport.c vgimport/vgexport: return invalid cmd 2014-03-30 23:40:27 +02:00
vgmerge.c vgsplit: Fix VG component of lvid. 2014-07-03 19:06:04 +01:00
vgmknodes.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgreduce.c metadata.c: Call refactored vgreduce_single 2013-11-19 14:40:30 -06:00
vgremove.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgrename.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
vgscan.c lvmcache: handle reinit without error 2014-03-21 22:29:21 +01:00
vgsplit.c vgsplit: Improve message when LV still active. 2014-07-04 01:13:51 +01:00