libparted needs support for setting the type GUID to an arbitrary value for gpt labels
Bug #1666475 reported by
Łukasz Zemczak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
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 post a comment you must log in.
I wanted to fill in a bug upstream but I can't seem to be able to find the official upstream bugtracker...