1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

args: add colon and column for pv/vg/lvdisplay

Better description for --colon and --column option for
pvdisplay, vgdisplay, lvdisplay.
This commit is contained in:
Zdenek Kabelac 2024-11-21 22:46:59 +01:00
parent 03a3863804
commit 502543ffed

View File

@ -1201,11 +1201,68 @@ arg(clustered_ARG, 'c', "clustered", bool_VAL, 0, 0,
arg(colon_ARG, 'c', "colon", 0, 0, 0, arg(colon_ARG, 'c', "colon", 0, 0, 0,
"Generate colon separated output for easier parsing in scripts or programs.\n" "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, arg(columns_ARG, 'C', "columns", 0, 0, 0,
"Display output in columns, the equivalent of \\fBvgs\\fP(8).\n" "Display output in columns.\n"
"Options listed are the same as options given in \\fBvgs\\fP(8).\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, arg(contiguous_ARG, 'C', "contiguous", bool_VAL, 0, 0,
"Sets or resets the contiguous allocation policy for LVs.\n" "Sets or resets the contiguous allocation policy for LVs.\n"