[Bug 1666475] [NEW] libparted needs support for setting the type GUID to an arbitrary value for gpt labels

Łukasz Zemczak 1666475 at bugs.launchpad.net
Tue Feb 21 11:10:14 UTC 2017


Public bug reported:

libparted tries to be as much label-agnostic as possible, but sometimes
it's required that a selected partition has the partition type set to an
*exact* GUID value. Currently the only way to modify the type GUID for
parts in the gpt label is to change the partition-specific flags which
in the end causes the GUID to change. There are no API calls that would
allow to set the type to an arbitrary value.

This is a bit troublesome as other partitioning tools like sfdisk or
sgdisk allow setting the GUID to any acceptable value.

It would be best if libparted gained the same ability as it's bindings
are available for multiple languages.

** Affects: parted (Ubuntu)
     Importance: Wishlist
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1666475

Title:
  libparted needs support for setting the type GUID to an arbitrary
  value for gpt labels

Status in parted package in Ubuntu:
  New

Bug description:
  libparted tries to be as much label-agnostic as possible, but
  sometimes it's required that a selected partition has the partition
  type set to an *exact* GUID value. Currently the only way to modify
  the type GUID for parts in the gpt label is to change the partition-
  specific flags which in the end causes the GUID to change. There are
  no API calls that would allow to set the type to an arbitrary value.

  This is a bit troublesome as other partitioning tools like sfdisk or
  sgdisk allow setting the GUID to any acceptable value.

  It would be best if libparted gained the same ability as it's bindings
  are available for multiple languages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1666475/+subscriptions



More information about the foundations-bugs mailing list