From 502543ffedab2e6ca4b5245cae4cb1d87568e255 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 21 Nov 2024 22:46:59 +0100 Subject: [PATCH] args: add colon and column for pv/vg/lvdisplay Better description for --colon and --column option for pvdisplay, vgdisplay, lvdisplay. --- tools/args.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) diff --git a/tools/args.h b/tools/args.h index 4a9ec5ad0..b3e89d107 100644 --- a/tools/args.h +++ b/tools/args.h @@ -1201,11 +1201,68 @@ arg(clustered_ARG, 'c', "clustered", bool_VAL, 0, 0, arg(colon_ARG, 'c', "colon", 0, 0, 0, "Generate colon separated output for easier parsing in scripts or programs.\n" - "Also see \\fBvgs\\fP(8) which provides considerably more control over the output.\n") + "#lvdisplay\n" + "Also see \\fBlvs\\fP(8) which provides considerably more control over the output.\n" + "The values are:\n" + ".br\n \\[bu] logical volume name\n" + ".br\n \\[bu] volume group name\n" + ".br\n \\[bu] logical volume access\n" + ".br\n \\[bu] logical volume status\n" + ".br\n \\[bu] internal logical volume number\n" + ".br\n \\[bu] open count of logical volume\n" + ".br\n \\[bu] logical volume size in sectors\n" + ".br\n \\[bu] current logical extents associated to logical volume\n" + ".br\n \\[bu] allocated logical extents of logical volume\n" + ".br\n \\[bu] allocation policy of logical volume\n" + ".br\n \\[bu] read ahead sectors of logical volume\n" + ".br\n \\[bu] major device number of logical volume\n" + ".br\n \\[bu] minor device number of logical volume\n" + "#vgdisplay\n" + "Also see \\fBvgs\\fP(8) which provides considerably more control over the output.\n" + "The values are:\n" + ".br\n \\[bu] volume group name\n" + ".br\n \\[bu] volume group access\n" + ".br\n \\[bu] volume group status\n" + ".br\n \\[bu] internal volume group number\n" + ".br\n \\[bu] maximum number of logical volumes\n" + ".br\n \\[bu] current number of logical volumes\n" + ".br\n \\[bu] open count of all logical volumes in this volume group\n" + ".br\n \\[bu] maximum logical volume size\n" + ".br\n \\[bu] maximum number of physical volumes\n" + ".br\n \\[bu] current number of physical volumes\n" + ".br\n \\[bu] actual number of physical volumes\n" + ".br\n \\[bu] size of volume group in kilobytes\n" + ".br\n \\[bu] physical extent size\n" + ".br\n \\[bu] total number of physical extents for this volume group\n" + ".br\n \\[bu] allocated number of physical extents for this volume group\n" + ".br\n \\[bu] free number of physical extents for this volume group\n" + ".br\n \\[bu] uuid of volume group\n" + "#pvdisplay\n" + "Also see \\fBpvs\\fP(8) which provides considerably more control over the output.\n" + "The values are:\n" + ".br\n \\[bu] physical volume device name\n" + ".br\n \\[bu] volume group name\n" + ".br\n \\[bu] physical volume size in sectors\n" + ".br\n \\[bu] internal physical volume number (obsolete)\n" + ".br\n \\[bu] physical volume status\n" + ".br\n \\[bu] physical volume (not) allocatable\n" + ".br\n \\[bu] current number of logical volumes on this physical volume\n" + ".br\n \\[bu] physical extent size in kilobytes\n" + ".br\n \\[bu] total number of physical extents\n" + ".br\n \\[bu] free number of physical extents\n" + ".br\n \\[bu] allocated number of physical extents\n") arg(columns_ARG, 'C', "columns", 0, 0, 0, - "Display output in columns, the equivalent of \\fBvgs\\fP(8).\n" - "Options listed are the same as options given in \\fBvgs\\fP(8).\n") + "Display output in columns.\n" + "#lvdisplay\n" + "The equivalent of \\fBlvs\\fP(8).\n" + "Options listed are the same as options given in \\fBlvs\\fP(8).\n" + "#vgdisplay\n" + "The equivalent of \\fBvgs\\fP(8).\n" + "Options listed are the same as options given in \\fBvgs\\fP(8).\n" + "#pvdisplay\n" + "The equivalent of \\fBpvs\\fP(8).\n" + "Options listed are the same as options given in \\fBpvs\\fP(8).\n") arg(contiguous_ARG, 'C', "contiguous", bool_VAL, 0, 0, "Sets or resets the contiguous allocation policy for LVs.\n"