partx does not seem able to combine showing with updating

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

 



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

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