[parted-devel] Custom partition GUID/ID.

dE de.techno at gmail.com
Wed Nov 5 03:25:28 UTC 2014


On 11/05/14 04:29, Brian C. Lane wrote:
> On Mon, Nov 03, 2014 at 12:25:59PM +0530, dE wrote:
>> Hi!
>>
>> Currently it appears the parted program does not have the ability to
>> change/create partitions with custom ID (MSDOS) and GUID (gpt). Is there any
>> way to do so?
>>
>> And in case the ID/GUID is something that the parted program does not
>> recognize, the Flags section of the print command is blanked out.
>>
>> I would suggest that it shows the GUID or the HEX code of the partition's
>> ID.
>>
>> Also the list of predefined GUID and IDs are very limited.
>>
>> Thanks for any help!
>>
> I looked into doing this a few months back. The way that parted is
> written means that doing something like this would result in fairly
> extensive changes to the codebase for a feature that really isn't
> needed.
>
> I am planning on fixing individual partition print though, and I think
> it would be useful to include the exact GUID  in that output.
>

Yeah, at least that should be implemented (to avoid confusion between 
fdisk and parted output).

And as Philip pointed out, we don't really need custom GUID or partition ID.



More information about the parted-devel mailing list