Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect reading of partition table #46

Open
xypron opened this issue Apr 5, 2023 · 0 comments
Open

Incorrect reading of partition table #46

xypron opened this issue Apr 5, 2023 · 0 comments

Comments

@xypron
Copy link
Collaborator

xypron commented Apr 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant