Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: Util-Linux <util-linux@vger.kernel.org>
Subject: Re: partx does not seem able to combine showing with updating
Date: Mon, 12 Jan 2015 10:59:02 +0100	[thread overview]
Message-ID: <20150112095902.GB20899@x2.net.home> (raw)
In-Reply-To: <1421011500.3996453.212533857.5E69F442@webmail.messagingengine.com>

On Sun, Jan 11, 2015 at 10:25:00PM +0100, Benno Schulenberg wrote:
> 
> # ./partx --update --pairs -n 2 -o SIZE /dev/sda
> SIZE="14.9G"
> 
> # ./partx --pairs --update -n 2 -o SIZE /dev/sda
> 
> 
> # ./partx --verbose --update --pairs -n 2 -o SIZE /dev/sda
> partition: none, disk: /dev/sda, lower: 2, upper: 2
> /dev/sda: partition table type 'dos' detected
> SIZE="14.9G"
> 
> # ./partx --verbose --pairs --update -n 2 -o SIZE /dev/sda
> partition: none, disk: /dev/sda, lower: 2, upper: 2
> /dev/sda: partition table type 'dos' detected
> /dev/sda: partition #2 added
> 
> 
> In my opinion the output should be the same in both cases,
> either both updating and showing the partition, or saying
> that the two options cannot be combined.

 Yes, --update is missing in "mutually exclusive" list. Fixed.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2015-01-12  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 21:25 partx does not seem able to combine showing with updating Benno Schulenberg
2015-01-12  9:59 ` Karel Zak [this message]

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=20150112095902.GB20899@x2.net.home \
    --to=kzak@redhat.com \
    --cc=bensberg@justemail.net \
    --cc=util-linux@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox