Re: [U-Boot] [PATCH v3 6/6] cmd: gpt: solve issue for swap and rename command

2017-10-19 Thread Patrick DELAUNAY
Hi, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > > On 10/18/2017 07:11 AM, Patrick Delaunay wrote: > > don't use prettyprint_part_size() in create_gpt_partitions_list() that > > avoid to align offset and size to 1 MiB and increase precision for > > start

Re: [U-Boot] [PATCH v3 6/6] cmd: gpt: solve issue for swap and rename command

2017-10-18 Thread Stephen Warren
On 10/18/2017 07:11 AM, Patrick Delaunay wrote: don't use prettyprint_part_size() in create_gpt_partitions_list() that avoid to align offset and size to 1 MiB and increase precision for start and size. This patch avoid the risk to change partition size and lost data during rename or swap. All

[U-Boot] [PATCH v3 6/6] cmd: gpt: solve issue for swap and rename command

2017-10-18 Thread Patrick Delaunay
don't use prettyprint_part_size() in create_gpt_partitions_list() that avoid to align offset and size to 1 MiB and increase precision for start and size. This patch avoid the risk to change partition size and lost data during rename or swap. Signed-off-by: Patrick Delaunay