[PATCH 0/2] partx: rewrite

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

 



Hi,

The following patches implement a major rewrite of partx, based on
http://article.gmane.org/gmane.linux.utilities.util-linux-ng/3547

Some examples:
./partx /dev/sda5
# 5: 468523008-488396799 ( 19873792 sectors,  10175 MB)

./partx -o PART,NAME,UUID gpt.img
PART NAME            UUID
# 1  ThisIsName      bc10cf1d-7e63-524c-8203-087ae10a820b
# 2  ThisIsOtherName 963ad0a1-3872-c646-bbb3-789cbe173ec7
# 3  primary         6c1b10a7-8c46-df47-aff6-cd444d12af61
# 4  primary         0a95c4af-f1f0-dd4a-802c-5957133486d1
# 5  primary         87a7b00d-6bc1-8648-af3a-fbb97299677c

./partx -a /dev/sda
error adding partition #1 (mounted partition?)
reduced size of partition #2 to 2
added partition #2
error adding partition #5 (mounted partition?)


Please test and comment.

Thanks,
Davidlohr 

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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