Skip to content

Copy what a walked volume holds: cloud placeholders, holes, hard links and a room check - #263

Merged
abrignoni merged 2 commits into
mainfrom
fix/staging-what-the-image-holds
Oct 1, 2026
Merged

abrignoni merged 2 commits into
mainfrom
fix/staging-what-the-image-holds

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Vendors qnxprobe 1.56 and changes what a walked disk image copies into a case.

  • An online-only cloud placeholder is kept as a row with no copy and no hash. It was read as zeros of the recorded size and hashed.
  • A file the Windows overlay compressed with XPRESS is read as its content. LZX is reported as not read.
  • Copies keep holes, and a hard-linked file is copied once.
  • A copy that would not fit on the case's volume is refused up front.

Tested against a volume Windows 11 wrote. On two public images the registered files are unchanged apart from one overlay-compressed zip that now opens, and an all-files copy went from 19.7 GB to 13.4 GB.

abrignoni and others added 2 commits October 1, 2026 18:10
The reader now says what a volume stores for a file (allocation()), refuses
to read a cloud provider's online-only placeholder on NTFS, whose content is
not in the image, and decodes files the Windows overlay filter compressed
with XPRESS. Both kinds were read as zeros of the recorded size before. A
file overlay-compressed with LZX is refused by name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A walked file's recorded size is not always what its volume stores for it.

A cloud provider's online-only placeholder has a size and no content. It was
read as zeros of that size, copied and hashed. It is now registered as a row
with no copy, no hash and no thumbnail, and its error column says what it
is. Processing skips it, on a forced run too, archive expansion does not try
to open it, the Sources panel counts them, and Retry failed files leaves
them out. A row an older case hashed as zeros is marked, and its hash
cleared, when the source is ingested again or copied in.

Copies of walked files leave runs of zeros as holes, at ingest, on demand
and when a source is copied in later. A file the volume holds under several
names is copied once and linked for the other names.

Before a walked source is copied in, the room the copies need is added up
and the copy is refused if the case's volume does not have it. If the
volume fills anyway, the pass stops and says so, where every later file
used to be counted as one the reader could not read. Copying a source in
later no longer stops at one file the reader declines.

The tests run against a volume Windows 11 wrote, with what Windows reported
for each of its files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 5a60e63 into main Oct 1, 2026
8 checks passed
@abrignoni
abrignoni deleted the fix/staging-what-the-image-holds branch October 1, 2026 22:23
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.

1 participant