Skip to content

Incorrect reading of partition table #46

@xypron

Description

@xypron

Given an SD-card partitioned as

Number  Start (sector)    End (sector)  Size       Code  Name
   1          229376         9437150   4.4 GiB     8300  
   2            8192           16383   4.0 MiB     FFFF  loader2
  12           16384           24575   4.0 MiB     8300  CIDATA
  13            4096            8191   2.0 MiB     FFFF  loader1
  15           24576          229375   100.0 MiB   EF00  ESP

part list mmc 1 only shows partitions 1 and 2.

This upsteam patch fixed the problem:
504dbd2 ("disk: gpt: print all partitions")

This is another patch needed to list all partitions.
bc314f8 ("cmd: part: list all 128 GPT partitions")

Please, consider cherry-picking these patches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions