Repository navigation
Take qnxprobe 1.23, so an HFS+ volume is not recorded as unreadable - #53
Merged
Merged
Conversation
An HFS+ volume whose attributes B-tree is allocated but holds nothing made
the walker raise, and every HFS+ volume with no extended attributes has
that shape. The walk catches per volume, so the whole filesystem was
recorded in volumes_not_read and skipped.
Measured on nps-2009-hfsjtest1, a public test image, through ingest:
1.22 volumes_not_read: ["lba0 (hfs+): unpack_from requires a buffer of
at least 4 bytes for unpacking 4 bytes at offset 0"]
1.23 volumes_not_read: none
A volume built here by macOS does not show it, because copying files onto
it writes extended attributes and the tree is then not empty. That is worth
knowing: the case only appears on a volume nothing has ever set an
attribute on, which is why a built fixture missed it and a real image did
not.
Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An HFS+ volume whose attributes B-tree is allocated but holds nothing made the walker raise, and every HFS+ volume with no extended attributes has that shape. The walk catches per volume, so the whole filesystem went into
volumes_not_readand was skipped.Measured on
nps-2009-hfsjtest1, a public Digital Corpora test image, through a real ingest:volumes_not_read: ["lba0 (hfs+): unpack_from requires a buffer of at least 4 bytes ..."]volumes_not_read: noneA volume built here by macOS does not show it, because copying files onto it writes extended attributes and the tree is then not empty. That is worth recording: the case only appears on a volume nothing has ever set an attribute on, which is exactly why a built fixture missed it and a real published image did not.
Verbatim copy, manifest at the merge commit,
check_vendored.pyclean. Suite results unchanged from main.🤖 Generated with Claude Code