On Tue, Mar 22, 2016 at 05:14:36PM +0100, Serge van den Boom wrote: > 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 This is about identification, partx does not use the device for anything.... not sure if we have to make it more complicated. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html