]> sourceware.org Git - lvm2.git/commit
report: Shift (u)sed pv_attr under (a)llocatable.
authorAlasdair G Kergon <agk@redhat.com>
Fri, 26 Feb 2016 15:46:37 +0000 (15:46 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 26 Feb 2016 15:46:37 +0000 (15:46 +0000)
commit98981265963f5c2572687cc7c8b49aa7cb6f85ec
tree96bab25bf8d3a381efdc09ef389eeadb3056e7d7
parent183bd8ca0342f6f72630afcb42b453b88ee90ac6
report: Shift (u)sed pv_attr under (a)llocatable.

Showing 'u' in the pv_attr reporting field is mostly unnecessary because
most PVs are allocatable, and being allocatable implies it is (u)sed,
and this is already obvious from other fields in the default 'pvs'
output like the VG name.

So move the new (u)sed pv_attr from character position 4 to 1, and only
show it in those rare cases when the PV is not (a)llocatable or the
relevant metadata is missing.

(Scripts should not be using pv_attr, but rather pv_allocatable,
pv_exported, pv_missing, pv_in_use etc.)
WHATS_NEW
lib/metadata/pv.c
man/pvs.8.in
test/shell/pvchange-usage.sh
This page took 0.034561 seconds and 5 git commands to generate.