[parted-devel] Interface to set partition type

Håkon Løvdal hlovdal at gmail.com
Tue Nov 10 09:05:25 UTC 2009


2009/11/9 Karel Zak <kzak at redhat.com>:
> On Mon, Nov 09, 2009 at 11:17:58AM +0100, Jim Meyering wrote:
>> It seems like it'd be useful to be able to extract existing types,
>> too, so how about making the string argument optional.
>> Then, this would print the type of the first partition:
>>
>>     $ parted /dev/sda part-type 1
>
>  This reminds me ...
>
>  ... it would be also nice to have a way how set partition UUID.
>  Currently GPT UUID is always generated. Maybe we will use the UUID
>  for some userspace operations (DevKits, udev, mount, ...) and then
>  people will look for a way how to control this identifier.
>
>  (Yes, I know that UUID should be unique, but sometimes is it very
>  useful to create a new disk layout with the same UUIDs.)
>
>     $ parted /dev/sda part-uuid 89ec2a20-ab3a-4105-b5e8-b141666fbd0c
>
>  ?



More information about the parted-devel mailing list