Signed-off-by: HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com> --- makedumpfile.8 | 6 +++--- print_info.c | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/makedumpfile.8 b/makedumpfile.8 index 4733420..f607bf5 100644 --- a/makedumpfile.8 +++ b/makedumpfile.8 @@ -121,8 +121,8 @@ configuration, you need to use --diskset option. .SH OPTIONS .TP -\fB\-c\fR -Compress dump data by each page. +\fB\-c,\-l\fR +Compress dump data by each page using zlib for -c option or lzo for -l option. .br A user cannot specify this option with \-E option, because the ELF format does not support compressed data. @@ -196,7 +196,7 @@ by dump_level 11, makedumpfile retries it by dump_level 31. \fB\-E\fR Create \fIDUMPFILE\fR in the ELF format. .br -This option cannot be specified with \-c option, because the ELF format does not +This option cannot be specified with either of \-c option or \-l option, because the ELF format does not support compressed data. .br .B Example: diff --git a/print_info.c b/print_info.c index 31460b7..237892e 100644 --- a/print_info.c +++ b/print_info.c @@ -35,15 +35,15 @@ print_usage(void) MSG("\n"); MSG("Usage:\n"); MSG(" Creating DUMPFILE:\n"); - MSG(" # makedumpfile [-c|-E] [-d DL] [-x VMLINUX|-i VMCOREINFO] VMCORE DUMPFILE\n"); + MSG(" # makedumpfile [-c|-l|-E] [-d DL] [-x VMLINUX|-i VMCOREINFO] VMCORE DUMPFILE\n"); MSG("\n"); MSG(" Creating DUMPFILE with filtered kernel data specified through filter config\n"); MSG(" file:\n"); - MSG(" # makedumpfile [-c|-E] [-d DL] -x VMLINUX --config FILTERCONFIGFILE VMCORE\n"); + MSG(" # makedumpfile [-c|-l|-E] [-d DL] -x VMLINUX --config FILTERCONFIGFILE VMCORE\n"); MSG(" DUMPFILE\n"); MSG("\n"); MSG(" Outputting the dump data in the flattened format to the standard output:\n"); - MSG(" # makedumpfile -F [-c|-E] [-d DL] [-x VMLINUX|-i VMCOREINFO] VMCORE\n"); + MSG(" # makedumpfile -F [-c|-l|-E] [-d DL] [-x VMLINUX|-i VMCOREINFO] VMCORE\n"); MSG("\n"); MSG(" Rearranging the dump data in the flattened format to a readable DUMPFILE:\n"); MSG(" # makedumpfile -R DUMPFILE\n"); @@ -70,14 +70,14 @@ print_usage(void) MSG("\n"); MSG("\n"); MSG(" Creating DUMPFILE from multiple VMCOREs generated on sadump diskset configuration:\n"); - MSG(" # makedumpfile [-c] [-d DL] -x VMLINUX --diskset=VMCORE1 --diskset=VMCORE2\n"); + MSG(" # makedumpfile [-c|-l] [-d DL] -x VMLINUX --diskset=VMCORE1 --diskset=VMCORE2\n"); MSG(" [--diskset=VMCORE3 ..] DUMPFILE\n"); MSG("\n"); MSG("\n"); MSG("Available options:\n"); - MSG(" [-c]:\n"); - MSG(" Compress dump data by each page.\n"); - MSG(" A user cannot specify this option with -E option, because the ELF format\n"); + MSG(" [-c|-l]:\n"); + MSG(" Compress dump data by each page using zlib for -c option and lzo for -l option.\n"); + MSG(" A user cannot specify either of these options with -E option, because the ELF format\n"); MSG(" does not support compressed data.\n"); MSG(" THIS IS ONLY FOR THE CRASH UTILITY.\n"); MSG("\n"); @@ -103,7 +103,7 @@ print_usage(void) MSG("\n"); MSG(" [-E]:\n"); MSG(" Create DUMPFILE in the ELF format.\n"); - MSG(" This option cannot be specified with -c option, because the ELF\n"); + MSG(" This option cannot be specified with either of -c option or -l option, because the ELF\n"); MSG(" format does not support compressed data.\n"); MSG("\n"); MSG(" [-x VMLINUX]:\n");