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
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to