dissect.target.volumes.ddf
¶
Module Contents¶
Classes¶
An extension of the |
- class dissect.target.volumes.ddf.DdfVolumeSystem(fh: BinaryIO | list[BinaryIO], *args, **kwargs)¶
Bases:
dissect.target.volume.LogicalVolumeSystem
An extension of the
VolumeSystem
class that provides additional functionality for dealing with logical volume systems.- __type__ = 'ddf'¶
A short string identifying the type of volume system.
- ddf¶
- classmethod open_all(volumes: list[BinaryIO]) Iterator[dissect.target.volume.LogicalVolumeSystem] ¶
Open all the discovered logical volume systems from the given file-like objects.
There can be more than one logical volume system on a given set of file-like objects. For example, you can have five disks or volumes with two separate LVM2 volume groups. This function is responsible for grouping the correct disks and volumes with each other, and correctly opening each distinct logical volume system.
- Parameters:
volumes – A list of file-like objects to discover and open the logical volume systems on.
- Returns:
An iterator of
LogicalVolumeSystem
.