Verify retained GPT and FAT32 partition contents #584

Open
erikinkinen wants to merge 3 commits from feature/retained-partition-readback into feature/retained-ext4-image-readback
Owner

Verify both GPT metadata copies, the complete partition table, every embedded source byte and initialized gaps. Verify native FAT32 boot/FSInfo copies, mirrored allocation tables, complete namespaces and original file contents through the same preadmitted read-only descriptors.

The readers preserve the original work counter and raw first failure. They mount no filesystems and do not recreate producers from paths or records. Builds on retained filesystem readback; whole clean-image acceptance remains tracked in #574.

  • Implement bounded GPT and FAT32 readback with explicit input grants.
  • Cover genuine native geometry, namespace, corruption and source-custody cases.
  • Document the reader boundary and enroll maintained checks.
Verify both GPT metadata copies, the complete partition table, every embedded source byte and initialized gaps. Verify native FAT32 boot/FSInfo copies, mirrored allocation tables, complete namespaces and original file contents through the same preadmitted read-only descriptors. The readers preserve the original work counter and raw first failure. They mount no filesystems and do not recreate producers from paths or records. Builds on [retained filesystem readback](https://git.erikinkinen.fi/erix/integration/pulls/579); whole clean-image acceptance remains tracked in [#574](https://git.erikinkinen.fi/erix/integration/pulls/574). - [x] Implement bounded GPT and FAT32 readback with explicit input grants. - [x] Cover genuine native geometry, namespace, corruption and source-custody cases. - [x] Document the reader boundary and enroll maintained checks.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 06:59:48 +01:00
feat: Verify formatted partitions through retained descriptors
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
66f8466444
Compare complete GPT metadata, embedded partition sources and native FAT32 namespaces against the actual preadmitted input files. Keep bounded metadata windows, original work limits and sticky failures without mounting filesystems, invoking format utilities or reconstructing producers from their records.
fix: Bound FAT namespace admission before source reads
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
539955429f
Check each implied parent against the original entry allowance while constructing the namespace, and charge copied path metadata to the existing work counter. Complete namespace admission before observing source extents so deep paths cannot cause excess allocation or premature file traversal.
docs: Wrap retained image documentation consistently
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 14s
CI / rust (push) Failing after 2m23s
Coreutils provider graph / coreutils (push) Successful in 4m20s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
5046144eea
Keep existing architecture and image-workflow prose within the maintained Markdown limits without changing its claims or repository templates.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 14s
CI / rust (push) Failing after 2m23s
Coreutils provider graph / coreutils (push) Successful in 4m20s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/retained-partition-readback:feature/retained-partition-readback'
git switch 'feature/retained-partition-readback'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/retained-ext4-image-readback'
git merge --no-ff 'feature/retained-partition-readback'
git switch 'feature/retained-partition-readback'
git rebase 'feature/retained-ext4-image-readback'
git switch 'feature/retained-ext4-image-readback'
git merge --ff-only 'feature/retained-partition-readback'
git switch 'feature/retained-partition-readback'
git rebase 'feature/retained-ext4-image-readback'
git switch 'feature/retained-ext4-image-readback'
git merge --no-ff 'feature/retained-partition-readback'
git switch 'feature/retained-ext4-image-readback'
git merge --squash 'feature/retained-partition-readback'
git switch 'feature/retained-ext4-image-readback'
git merge --ff-only 'feature/retained-partition-readback'
git switch 'feature/retained-ext4-image-readback'
git merge 'feature/retained-partition-readback'
git push origin 'feature/retained-ext4-image-readback'
Sign in to join this conversation.
No description provided.