1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Sort lvs options by alphabet

This commit is contained in:
Zdenek Kabelac 2012-04-24 12:14:17 +00:00
parent cfa6500574
commit 22d0b18687

View File

@ -3,8 +3,8 @@
lvs \- report information about logical volumes lvs \- report information about logical volumes
.SH SYNOPSIS .SH SYNOPSIS
.B lvs .B lvs
.RB [ \-a | \-\-all ]
.RB [ \-\-aligned ] .RB [ \-\-aligned ]
.RB [ \-a | \-\-all ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
@ -17,9 +17,9 @@ lvs \- report information about logical volumes
.RI [ + | \- ] Key1 [,[ + | \- ] Key2 [,...]]] .RI [ + | \- ] Key1 [,[ + | \- ] Key2 [,...]]]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-rows ] .RB [ \-\-rows ]
.RB [ \-\-segments ]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-segments ]
.RB [ \-\-unbuffered ] .RB [ \-\-unbuffered ]
.RB [ \-\-units .RB [ \-\-units
.IR hHbBsSkKmMgGtTpPeE ] .IR hHbBsSkKmMgGtTpPeE ]
@ -36,6 +36,9 @@ See
.BR lvm (8) .BR lvm (8)
for common options. for common options.
.TP .TP
.B \-\-aligned
Use with \fB\-\-separator\fP to align the output columns.
.TP
.B \-\-all .B \-\-all
Include information in the output about internal Logical Volumes that Include information in the output about internal Logical Volumes that
are components of normally-accessible Logical Volumes, such as mirrors, are components of normally-accessible Logical Volumes, such as mirrors,
@ -46,9 +49,6 @@ in the output. For example, after creating a mirror using
, this option will reveal three internal Logical , this option will reveal three internal Logical
Volumes, with suffixes mimage_0, mimage_1, and mlog. Volumes, with suffixes mimage_0, mimage_1, and mlog.
.TP .TP
.B \-\-aligned
Use with \fB\-\-separator\fP to align the output columns.
.TP
.B \-\-nameprefixes .B \-\-nameprefixes
Add an "LVM2_" prefix plus the field name to the output. Useful Add an "LVM2_" prefix plus the field name to the output. Useful
with \fB\-\-noheadings\fP to produce a list of field=value pairs that can with \fB\-\-noheadings\fP to produce a list of field=value pairs that can
@ -65,8 +65,8 @@ Suppress the suffix on output sizes. Use with \fB\-\-units\fP
(except h and H) if processing the output. (except h and H) if processing the output.
.TP .TP
.BR \-o ", " \-\-options .BR \-o ", " \-\-options
Comma-separated ordered list of columns. Precede the list with '+' to append Comma-separated ordered list of columns. Precede the list with '\fI+\fP'
to the default selection of columns instead of replacing it. to append to the default selection of columns instead of replacing it.
.IP .IP
Use \fB\-o lv_all\fP to select all logical volume columns, Use \fB\-o lv_all\fP to select all logical volume columns,
and \fB\-o seg_all\fP and \fB\-o seg_all\fP
@ -134,7 +134,7 @@ thin pool m(e)tadata
Permissions: (w)riteable, (r)ead-only, (R)ead-only activation of non-read-only Permissions: (w)riteable, (r)ead-only, (R)ead-only activation of non-read-only
volume volume
.IP 3 3 .IP 3 3
Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere, (i)nherited Allocation policy: (a)nywhere, (c)ontiguous, (i)nherited, c(l)ing, (n)ormal
This is capitalised if the volume is currently locked against allocation This is capitalised if the volume is currently locked against allocation
changes, for example during changes, for example during
.BR pvmove (8). .BR pvmove (8).
@ -158,9 +158,6 @@ snapshots of thin volumes using the new thin provisioning driver appear as (t).
Newly-allocated data blocks are overwritten with blocks of (z)eroes before use. Newly-allocated data blocks are overwritten with blocks of (z)eroes before use.
.RE .RE
.TP .TP
.B \-\-segments
Use default columns that emphasize segment information.
.TP
.BR \-O ", " \-\-sort .BR \-O ", " \-\-sort
Comma-separated ordered list of columns to sort by. Replaces the default Comma-separated ordered list of columns to sort by. Replaces the default
selection. Precede any column with '\fI\-\fP' for a reverse sort on that column. selection. Precede any column with '\fI\-\fP' for a reverse sort on that column.
@ -168,6 +165,9 @@ selection. Precede any column with '\fI\-\fP' for a reverse sort on that column.
.B \-\-rows .B \-\-rows
Output columns as rows. Output columns as rows.
.TP .TP
.B \-\-segments
Use default columns that emphasize segment information.
.TP
.B \-\-separator \fISeparator .B \-\-separator \fISeparator
String to use to separate each column. Useful if grepping the output. String to use to separate each column. Useful if grepping the output.
.TP .TP