A Dissect module implementing a parser for different disk volume and partition systems, e.g. LVM2, GPT, and MBR. Part of the Dissect forensic framework. Current version: 3.18, requires Python >=3.10. Release cadence follows Dissect project updates.
pip install dissect-volumeVerified import paths — ran on the pinned version, not inferred.
Basic usage: open a disk image and enumerate volumes.
Update imports to the new top-level paths: `from dissect.volume import VolumeSystem`.
Use `LVM2(fh=open('file', 'rb'))` instead of old `LVM2('file')`.If you have a bytes object, wrap it in `io.BytesIO(data)` before passing to VolumeSystem.
Always use `'rb'` mode when opening disk images.