Repository navigation
Carry a FAT volume's recorded times to the examiner, as stored - #52
Merged
Merged
Conversation
A file walked out of FAT or exFAT had no time at all on its row. Those filesystems keep a wall-clock reading and no zone, so there is no instant to put in mtime without inventing a zone, and a naive datetime handed to a consumer gets coerced to UTC. The readings now travel as text. qnxprobe 1.22 hands them to collect(), the walk stores them as JSON in a new files.recorded_times, and the report offers them as "Recorded (as stored, no zone)". mtime stays empty for such a volume, deliberately, so nothing downstream can read an instant that was never recorded. A reading an entry does not hold is absent rather than empty. exFAT stores a UTC offset per timestamp and it is shown as stored rather than applied. On the one exFAT volume measured, a file written at 21:09:09 on a machine at UTC-0400 is stored as 2026-09-10 05:09:08 with an offset of +04:00. That pair resolves to the right instant, but the reading is not the machine's local clock and the offset is the negation of its zone, so resolving it would assert more than the evidence carries. Schema 13. The column is added by migration and existing rows survive it, which the tests check by dropping the column from a case and reopening it. Read against the FAT32 EFI system partitions of two real acquisitions, the readings decode clean: 196 and 207 paths carrying them, years 2022 to 2026, none malformed, and unlike the test fixture those volumes populate created and accessed as well. The column itself is exercised by the fixture rather than by them, because the walk registers media and an EFI system partition holds none. Co-Authored-By: Claude Opus 5 <[email protected]>
abrignoni
force-pushed
the
feat/fat-recorded-times-column
branch
from
September 10, 2026 03:12
5819932 to
db4fab4
Compare
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.
A file walked out of FAT or exFAT had no time at all on its row. Those filesystems keep a wall-clock reading and no zone, so there is no instant to put in
mtimewithout inventing a zone, and a naive datetime handed to a consumer gets coerced to UTC.The readings now travel as text. qnxprobe 1.22 hands them to
collect(), the walk stores them as JSON in a newfiles.recorded_times, and the report offers them as "Recorded (as stored, no zone)".mtimestays empty for such a volume, deliberately, so nothing downstream can read an instant that was never recorded.2026-09-10 05:09:08with an offset of+04:00. That pair resolves to the right instant, but the reading is not the machine's local clock and the offset is the negation of its zone, so resolving it would assert more than the evidence carries.Schema 13. The column is added by migration and existing rows survive it, which a test checks by dropping the column from a case, marking it version 12 and reopening it.
The fixture declares each file's time, so the expected values do not come from the decoder under test:
(2023, 6, 1, 12, 30, 0)goes in and2023-06-01 12:30:00comes out. Four new tests, each proven red by breaking the change four ways: not askingcollectfor the readings, not storing them, fillingmtimeafter all, and keeping empty readings instead of dropping them.Read against the FAT32 EFI system partitions of two real acquisitions the readings decode clean: 196 and 207 paths carrying them, years 2022 to 2026, none malformed, and unlike the fixture those volumes populate created and accessed as well. The column itself is exercised by the fixture rather than by them, because the walk registers media and an EFI system partition holds none. No FAT or exFAT volume in the corpus carries media.
Also re-vendors qnxprobe 1.22. Verbatim copy, manifest at the merge commit,
check_vendored.pyclean. Suite results unchanged from main.🤖 Generated with Claude Code