[linux-lvm] indistinguishable column names ( BA Start Start Start Start )
Roland
devzero at web.de
Mon Aug 21 23:45:40 UTC 2023
Am 21.08.23 um 18:17 schrieb David Teigland:
> On Sat, Aug 19, 2023 at 06:05:58PM +0200, Roland wrote:
>> furthermore, it's a little bit weird that some columns being printed by
>> default when using -o, is there an easier way to remove those besides
>> explictly removing them one by one with several -o options ?
>> "-o-opt1,-opt2,..." doesn't work
>>
>> sorry for this noise, i was too dumb for that , "-o+opt1,opt2 -o-opt3,opt4"
>> works as desired (as documented in manpage)
> Usually if you're interested in exact fields, you'd avoid the default
> options and just use "-o opt1,opt2,..." without +/-.
yes, that makes totally sense - there are default options, "+" adds
some options,
"- removes some , and -o without "+/-" just makes it print exactly what
we want.
totally straightforward if understood, i was just too lazy, sorry.
>> # pvs --units s -o+pv_ba_start,seg_start,seg_start_pe,pvseg_start
>> PV VG Fmt Attr PSize PFree pv_ba_start
>> seg_start seg_start_pe pvseg_start
> It does sound better than some of the strange header abbreviations.
> It could also use the key words that appear with --nameprefixes.
i have found the place where to add an RFE and did that :
https://bugzilla.redhat.com/show_bug.cgi?id=2233336
thank you
roland
More information about the linux-lvm
mailing list