Re: partx does not seem able to combine showing with updating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux