Skip to content

Vendor qnxprobe 1.66: split and striped LVM2 volumes, and their free space - #290

Merged
abrignoni merged 1 commit into
mainfrom
chore/qnxprobe-1.66-lvm2-maps
Oct 14, 2026
Merged

abrignoni merged 1 commit into
mainfrom
chore/qnxprobe-1.66-lvm2-maps

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Vendors qnxprobe 1.66 and reads LVM2 logical volumes that are split into runs or striped.

  • The image is wrapped with qnxprobe.lvm_image() where it is opened, so _volumes() lists those volumes and later reads go through the map.
  • Carve scope: a physical volume answers with its unallocated extents, and a mapped volume's free runs are given at their real image offsets.
  • Tests on the lvm2-written fixture: every file in all four ext4 volumes matches its source hash; a scope test checks both kinds of free space.

🤖 Generated with Claude Code

…space

qnxprobe 1.66 reads an LVM2 logical volume split into runs, or striped,
through a map of its runs, placed past the image's end. GLEAPP applies
qnxprobe.lvm_image() where it opens an image, so _volumes() lists such a
volume and every later read of it goes through the map; the short-image check
leaves placed volumes to their own maps; and the carve scope takes a physical
volume's unallocated extents as its free space and a mapped volume's free
runs at the image offsets they lie at.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 116bd84 into main Oct 14, 2026
8 checks passed
@abrignoni
abrignoni deleted the chore/qnxprobe-1.66-lvm2-maps branch October 14, 2026 18:36
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