[PATCH v2 0/3] Add support for altering GPT size

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

 



As requested by Karel, this version adds a GPT specific function.

The following additional error checking is performed:
* Check that memory for the new entries array could be allocated
* Check that the new table will fit on the disk
* Check that no existing partition will be overlapped by the new table

fdisk and sfdisk have been modified to use the new function and the
pre-existing fdisk_get_npartitions instead of the two new generic
functions added by the previous patch version.

Sassan Panahinejad (3):
  libfdisk: Add support for altering GPT size
  fdisk: Add support for altering GPT size
  sfdisk: Add support for altering GPT size

 disk-utils/fdisk-menu.c    |   8 ++++
 libfdisk/src/gpt.c         | 100 +++++++++++++++++++++++++++++++++++++++++++++
 libfdisk/src/libfdisk.h.in |   1 +
 libfdisk/src/libfdisk.sym  |   1 +
 libfdisk/src/script.c      |  15 ++++++-
 5 files changed, 123 insertions(+), 2 deletions(-)

-- 
2.1.0

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