From b4fb5226c0e74d618ae3e410461a9d867ab4183a Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 27 Mar 2007 13:35:33 +0000 Subject: [PATCH] Update lists of attribute characters in man pages. Change cling alloc policy attribute character from 'C' to l'. --- WHATS_NEW | 2 ++ lib/report/report.c | 2 +- man/lvs.8 | 2 +- man/vgs.8 | 19 +++++++++++++++++-- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index b36d54ddf..0a1b26e46 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,7 @@ Version 2.02.25 - ================================= + Update lists of attribute characters in man pages. + Change cling alloc policy attribute character from 'C' to l'. Fix creation and conversion of mirrors with tags. Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata). Split metadata areas in vgsplit properly. diff --git a/lib/report/report.c b/lib/report/report.c index dac3d11f7..30abcf72e 100644 --- a/lib/report/report.c +++ b/lib/report/report.c @@ -49,7 +49,7 @@ static char _alloc_policy_char(alloc_policy_t alloc) case ALLOC_CONTIGUOUS: return 'c'; case ALLOC_CLING: - return 'C'; + return 'l'; case ALLOC_NORMAL: return 'n'; case ALLOC_ANYWHERE: diff --git a/man/lvs.8 b/man/lvs.8 index 804a2879a..21119d3df 100644 --- a/man/lvs.8 +++ b/man/lvs.8 @@ -51,7 +51,7 @@ invalid (S)napshot, (v)irtual .IP 2 3 Permissions: (w)riteable, (r)ead-only .IP 3 3 -Allocation policy: (c)ontiguous, (n)ormal, (a)nywhere, (i)nherited +Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere, (i)nherited This is capitalised if the volume is currently locked against allocation changes, for example during \fBpvmove\fP (8). .IP 4 3 diff --git a/man/vgs.8 b/man/vgs.8 index 4bb9917c0..a66ae57f6 100644 --- a/man/vgs.8 +++ b/man/vgs.8 @@ -36,9 +36,24 @@ vg_free_count, max_lv, max_pv, pv_count, lv_count, snap_count, vg_seqno, vg_tags. Any "vg_" prefixes are optional. Columns mentioned in either \fBpvs (8)\fP or \fBlvs (8)\fP can also be chosen, but columns cannot be taken from both -at the same time. The vg_attr bits are: (w)riteable, (r)eadonly, -resi(z)eable, e(x)ported, (p)artial and (c)lustered. +at the same time. Use \fb-o help\fP to view the full list of fields available. +.IP +The vg_attr bits are: +.RS +.IP 1 3 +Permissions: (w)riteable, (r)ead-only +.IP 2 3 +Resi(z)eable +.IP 3 3 +E(x)ported +.IP 4 3 +(p)artial +.IP 5 3 +Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere, (i)nherited +.IP 6 3 +(c)lustered +.RE .TP .I \-O, \-\-sort Comma-separated ordered list of columns to sort by. Replaces the default