Re: [PATCH 2/3] cmd: fix gpt enumerate

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 04:04, Simon Glass wrote: Hi Heinrich, On Fri, 25 Aug 2023 at 19:53, Heinrich Schuchardt wrote: Do not assume that partitions are numbered continuously starting at 1. Only a single partition table type can exist on a block device. If we found a GPT partition table, we must not

Re: [PATCH 2/3] cmd: fix gpt enumerate

2023-08-25 Thread Simon Glass
Hi Heinrich, On Fri, 25 Aug 2023 at 19:53, Heinrich Schuchardt wrote: > > Do not assume that partitions are numbered continuously starting at 1. > > Only a single partition table type can exist on a block device. If we found > a GPT partition table, we must not re-enumerate with the MBR partition

[PATCH 2/3] cmd: fix gpt enumerate

2023-08-25 Thread Heinrich Schuchardt
Do not assume that partitions are numbered continuously starting at 1. Only a single partition table type can exist on a block device. If we found a GPT partition table, we must not re-enumerate with the MBR partition driver which would find the protective partition. Signed-off-by: Heinrich Schuc