All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: Roland <devzero@web.de>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] indistinguishable column names ( BA Start Start Start Start )
Date: Mon, 21 Aug 2023 11:17:19 -0500	[thread overview]
Message-ID: <20230821161719.GA4913@redhat.com> (raw)
In-Reply-To: <5f40e362-e6b9-d66e-312b-6999e40ba951@web.de>

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/


  parent reply	other threads:[~2023-08-21 16:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-19 15:20 [linux-lvm] indistinguishable column names ( BA Start Start Start Start ) Roland
2023-08-19 16:05 ` Roland
2023-08-21 16:00   ` Marian Csontos
2023-08-22  9:01     ` Roland
2023-08-21 16:17   ` David Teigland [this message]
2023-08-21 23:45     ` Roland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230821161719.GA4913@redhat.com \
    --to=teigland@redhat.com \
    --cc=devzero@web.de \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.