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

Add read-only support for Dmg archives #573

Merged
merged 6 commits into from
Jun 4, 2021

Conversation

Artentus
Copy link
Contributor

As the title suggests, this adds support for reading and extracting Dmg archives.
Only Dmg archives that use the GPT partitioning scheme with a HFS+ or HFSX data partition are supported, but that should cover the large majority of Dmgs out there (any DMGs created on MacOS 8.1 and newer will have this format).

I didn't see any way of implementing this as read-through so only the archive API is available.
Unfortunately I'm not able to provide test data as I don't have access to a Mac to create Dmgs. I have tested extensively using my own data but I cannot share that data publicly. Hopefully someone else will be kind enough to provide those.

@adamhathcock
Copy link
Owner

This is great! Thanks!

I have a Mac. I need to figure out how to make a dmg with test data

@adamhathcock adamhathcock merged commit 65bcfad into adamhathcock:master Jun 4, 2021
@adamhathcock
Copy link
Owner

Maybe I'm not making a valid DMG but AFPS isn't supported and HFS reports no entries:
#602

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