Util-Linux package development
 help / color / mirror / Atom feed
From: Serge van den Boom <serge+util-linux@vdboom.org>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: Subject: Multiple issues with partx
Date: Tue, 22 Mar 2016 17:14:36 +0100 (CET)	[thread overview]
Message-ID: <alpine.BSF.2.00.1603221648410.68855@toad.stack.nl> (raw)
In-Reply-To: <20160322145033.l6mus2ao7s7272ll@ws.net.home>

Thanks. Fast resolution.

On Tue, 22 Mar 2016, Karel Zak wrote:
> On Tue, Mar 22, 2016 at 01:17:42PM +0100, Serge van den Boom wrote:
> > 
> > 4. It is possible to specify a partition by the device name of a
> >    partition on another block device.
> > 
> > The command 'partx /dev/sdb2 /dev/sda' makes no sense, but still
> > produces output, namely the second partition of /dev/sda.
> 
>  Fixed,
> 
>  # partx --show /dev/sdx1 /dev/sdc
>  partx: partition and disk name do not match

Strictly speaking, it should be the devices themselves which would need
to match, not their names. I could create a few symlinks, and
'partx x0 x' would work, even when x0 and x refer to unrelated devices:

    ln -s /dev/sda x
    ln -s /dev/sdb2 x0


Regards,

Serge

  reply	other threads:[~2016-03-22 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-22 12:17 Subject: Multiple issues with partx Serge van den Boom
2016-03-22 14:50 ` Karel Zak
2016-03-22 16:14   ` Serge van den Boom [this message]
2016-03-22 16:33     ` 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=alpine.BSF.2.00.1603221648410.68855@toad.stack.nl \
    --to=serge+util-linux@vdboom.org \
    --cc=kzak@redhat.com \
    --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