1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha 9c937e7d54 dumpconfig: add --type profilable-command/profilable-metadata, --metadataprofile/--commandprofile
The dumpconfig now understands --commandprofile/--profile/--metadataprofile

The --commandprofile and --profile functionality is almost the same
with only one difference and that is that the --profile is just used
for dumping the content, it's not applied for the command itself
(while the --commandprofile profile is applied like it is done for
any other LVM command).

We also allow --metadataprofile for dumpconfig - dumpconfig *does not*
touch VG/LV and metadata in any way so it's OK to use it here (just for
dumping the content, checking the profile validity etc.).

The validity of the profile can be checked with:
      dumpconfig --commandprofile/--profile/--metadataprofile --validate

...depending on the profile type.

Also, mention --config in the dumpconfig help string so users know
that  dumpconfig handles this too (it did even before, but it was not
documented in the help string).
2014-05-20 16:27:07 +02:00
..
activate devmapper: fix compilation without devmapper 2014-04-30 10:26:29 +02:00
cache signals: Move sigint handling out to lvm-signal. 2014-05-01 20:07:17 +01:00
cache_segtype cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
commands config: differentiate command and metadata profiles and consolidate profile handling code 2014-05-20 16:21:48 +02:00
config dumpconfig: add --type profilable-command/profilable-metadata, --metadataprofile/--commandprofile 2014-05-20 16:27:07 +02:00
datastruct cleanup: reduce inclusion of unnecessary headers 2014-04-18 16:38:50 +02:00
device cleanup: constify pointers 2014-05-07 14:17:46 +02:00
display display: print skipped prompt 2014-05-15 12:11:35 +02:00
error cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
filters config: add CONFIG_FILE_SPECIAL config source id 2014-05-19 15:37:41 +02:00
format1 format1: Mark obsolete and do not use with lvmetad. 2014-01-14 03:27:45 +00:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text config: differentiate command and metadata profiles and consolidate profile handling code 2014-05-20 16:21:48 +02:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label cleanup: remove unneeded header files 2014-02-11 19:00:06 +01:00
locking cleanup: drop unused header 2014-05-12 16:24:40 +02:00
log log: skip repeated hashing when logging once 2014-04-08 11:00:14 +02:00
metadata config: differentiate command and metadata profiles and consolidate profile handling code 2014-05-20 16:21:48 +02:00
mirror cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
misc configure: drop siginterrupt 2014-05-12 16:24:39 +02:00
mm config: differentiate command and metadata profiles and consolidate profile handling code 2014-05-20 16:21:48 +02:00
properties lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00
raid cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report cleanup: reduce inclusion of unnecessary headers 2014-04-18 16:38:50 +02:00
snapshot cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
unknown unknown: add_target_line is not needed 2014-04-30 10:26:30 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
Makefile.in locking: Separate out flock and signal code. 2014-05-01 17:37:14 +01:00