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

Use dd and blkid to get the partition label at an offset into the image #261

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Page-
Copy link
Contributor

@Page- Page- commented Jul 23, 2021

This shaves off around 7 seconds for fetchign partition info in my
local testing

Change-type: patch

This shaves off around 7 seconds for fetchign partition info in my
local testing

Change-type: patch
@jakogut
Copy link

jakogut commented Jul 23, 2021

Does this work for MBR as well as GPT formatted disks?

@Page-
Copy link
Contributor Author

Page- commented Jul 26, 2021

Do you know which version of balenaOS uses MBR/GPT so they can be tested @jakogut ?

@Page- Page- requested review from klutchell and tmigone July 26, 2021 11:16
@jakogut
Copy link

jakogut commented Jul 26, 2021

@Page- The only gpt formatted images I'm aware of currently are the ones in balena-generic. @alexgg Do you know of any others?

@jakogut
Copy link

jakogut commented Jul 26, 2021

@Page- Ah, the Jetson images are GPT formatted

/home/joseph/balena-os/balena-jetson/layers/meta-balena-jetson/recipes-core/images/balena-image.inc
117:PARTITION_TABLE_TYPE = "gpt"

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

Successfully merging this pull request may close these issues.

2 participants