Util-Linux package development
 help / color / mirror / Atom feed
From: Benno Schulenberg <bensberg@justemail.net>
To: "Util-Linux" <util-linux@vger.kernel.org>
Subject: partx does not seem able to combine showing with updating
Date: Sun, 11 Jan 2015 22:25:00 +0100	[thread overview]
Message-ID: <1421011500.3996453.212533857.5E69F442@webmail.messagingengine.com> (raw)


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

Benno

-- 
http://www.fastmail.com - The way an email service should be


             reply	other threads:[~2015-01-11 21:25 UTC|newest]

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

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=1421011500.3996453.212533857.5E69F442@webmail.messagingengine.com \
    --to=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