Repository navigation
Carve the space outside every volume, and all of an image with no volume - #226
Merged
Merged
Conversation
_unclaimed_space returned only the runs each volume reports free. An image with no volume the reader can name therefore scoped to an empty list, the answer for a disk whose volumes claim every byte, and the gallery's carve (always unallocated-only) read nothing: 0 of 3 pictures in a volume-less E01 through the web API, where an unscoped carve found all 3, with the case meta recording "0 runs of space no volume claims, 0 bytes". The scope now also covers the space outside every named volume: the start of a partitioned disk, a partition whose filesystem is not recognised (the Microsoft reserved partition), and the tail. An image with no volume scopes to the whole image. None still means a volume could not answer. Touching runs are joined, the scoped carve reports progress, and the meta says "1 run" rather than "1 runs". On the corpus disks this adds 17 to 24 MiB per Windows disk and 128 MiB on macOS-BigSur; PC-MUS-001's reserved partition holds 79 carvable PNGs the old scope never read. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The web test for aff-enc-inplace-cert.aff passes carve=true on a disk with no filesystem and never checked what the carve found. It now requires the six pictures; on main it finds none. Co-Authored-By: Claude Opus 5.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.
Makes an unallocated-only carve read the space no volume claims, including space outside every volume.
_unclaimed_spacereturned only the runs each volume reports free. An image with no volume the reader can name got an empty list, so the gallery's carve (always scoped) found nothing. Onaff-enc-inplace-cert.affthrough the web API with carve on: 0 carved rows on main, 6 with this change.Tests cover a volume-less E01, a partitioned image with pictures outside its volume, and the carved count on both web ingest tests. Each fails on main. Manual, help and the cross-platform rules are updated, with the scope table re-measured.
🤖 Generated with Claude Code