Re: [parted-devel] [PATCH] set swap flag on GPT partitions

2016-12-02 Thread Arvin Schnell
On Fri, Dec 02, 2016 at 11:35:44AM +0800, Wang Dong wrote: > Hi, > > I think it will be better if you can send your patch with #git send-email. > > It is not convenient to comment your patch if you put it in attaches file. > > So I just paste it out. I got some comments below.;-) > > > On

Re: [parted-devel] [PATCH] set swap flag on GPT partitions

2016-12-01 Thread Wang Dong
Hi, I think it will be better if you can send your patch with #git send-email. It is not convenient to comment your patch if you put it in attaches file. So I just paste it out. I got some comments below.;-) On 12/1/2016 7:28 PM, Arvin Schnell wrote: Hi, attached is a patch to support

[parted-devel] [PATCH] set swap flag on GPT partitions

2016-12-01 Thread Arvin Schnell
Hi, attached is a patch to support displaying and setting (on already existing partitions) the swap flag on GPT partitions. So far the swap flag can only be set when creating a partition and setting the file-system to linux-swap. Output of print looks like: Model: Maxtor 6 Y080L0 (scsi) Disk