All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add support for altering GPT size
@ 2016-05-12 11:54 Sassan Panahinejad
  2016-05-12 11:54 ` [PATCH v2 1/3] libfdisk: " Sassan Panahinejad
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sassan Panahinejad @ 2016-05-12 11:54 UTC (permalink / raw)
  To: util-linux; +Cc: Sassan Panahinejad

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-18 13:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12 11:54 [PATCH v2 0/3] Add support for altering GPT size Sassan Panahinejad
2016-05-12 11:54 ` [PATCH v2 1/3] libfdisk: " Sassan Panahinejad
2016-05-13 13:52   ` Mike Frysinger
2016-05-13 13:54     ` Sassan Panahinejad
2016-05-12 11:54 ` [PATCH v2 2/3] fdisk: " Sassan Panahinejad
2016-05-12 11:54 ` [PATCH v2 3/3] sfdisk: " Sassan Panahinejad
2016-05-18 12:31   ` Karel Zak
2016-05-18 13:51     ` Sassan Panahinejad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.