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

Ability to pierce HFS wrappers #24

Open
boredzo opened this issue Mar 8, 2023 · 1 comment
Open

Ability to pierce HFS wrappers #24

boredzo opened this issue Mar 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@boredzo
Copy link
Owner

boredzo commented Mar 8, 2023

HFS+ intake support isn't a primary feature right now, but it exists partly for validation of conversion, partly for the possibility of #8, and partly because APFS might get dropped someday.

HFS+ volumes created on Classic Mac OS are contained in an HFS wrapper volume, containing a few helpful files (particularly one named “Where did all my files go?” that explains HFS+) that are only visible to people on operating systems that don't know how to read HFS+.

impluse knows how to read HFS+, but doesn't currently know how to see through the wrapper volume to the HFS+ volume inside. We should fix that, particularly for the sake of listing and extraction (if HFS+ ever gets dropped, ability to extract files from HFS+ volumes will suddenly become much more important).

@boredzo boredzo added the enhancement New feature or request label Mar 8, 2023
@boredzo
Copy link
Owner Author

boredzo commented Mar 8, 2023

We might need a --hfs switch on list and extract to make them list/extract items from the wrapper volume instead of the wrapped volume. I'm not sure why someone would particularly want to access the wrapper contents, but we certainly shouldn't lock away the wrapper unconditionally.

It might end up layered on top of ImpVolumeProbe's existing ability to discover volumes—perhaps it could discover the HFS wrapper and wrapped HFS+ volume separately. At some point we might need an option to select which volume to access on media with multiple volumes (including partitioned disks); if partitions are normally referred to by index in the partition map, perhaps “4” is the wrapped volume (being the default) and “4.wrapper” or “4.hfs” is the wrapper.

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

No branches or pull requests

1 participant