Re: [PATCH 1/3] disk: part_efi: add support to repair gpt table

2022-05-08 Thread Tom Rini
On Fri, Apr 22, 2022 at 05:46:48PM +0200, Philippe Reynes wrote: > If a gpt table is corrupted (after a power cut > for example), then the gpt table should repaired. > The function gpt_repair_headers check if at least > one gpt table is valid, and then only write the > corrupted gpt table. > > Si

[PATCH 1/3] disk: part_efi: add support to repair gpt table

2022-04-22 Thread Philippe Reynes
If a gpt table is corrupted (after a power cut for example), then the gpt table should repaired. The function gpt_repair_headers check if at least one gpt table is valid, and then only write the corrupted gpt table. Signed-off-by: Philippe Reynes --- disk/part_efi.c | 86