Re: [linux-lvm] indistinguishable column names ( BA Start Start Start Start )

David Teigland <[email protected]>
Newsgroups dev.linux.lists.linux-lvm
Message-ID <[email protected]>
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 +/-.

> # 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.

Dave
_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.