:py:mod:`dissect.volume.ddf.ddf` ================================ .. py:module:: dissect.volume.ddf.ddf Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.volume.ddf.ddf.DDF dissect.volume.ddf.ddf.DDFConfiguration dissect.volume.ddf.ddf.DDFVirtualDisk dissect.volume.ddf.ddf.DDFPhysicalDisk dissect.volume.ddf.ddf.ControllerData dissect.volume.ddf.ddf.PhysicalDiskData dissect.volume.ddf.ddf.PhysicalDiskRecord dissect.volume.ddf.ddf.VirtualDiskRecord dissect.volume.ddf.ddf.VirtualDiskConfigurationRecord Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.volume.ddf.ddf.DEFAULT_SECTOR_SIZE dissect.volume.ddf.ddf.DECADE .. py:data:: DEFAULT_SECTOR_SIZE :value: 512 .. py:data:: DECADE :value: 315532800 .. py:class:: DDF(fh: list[BinaryIO | DDFPhysicalDisk] | BinaryIO | DDFPhysicalDisk, sector_size: int = DEFAULT_SECTOR_SIZE) Bases: :py:obj:`dissect.volume.raid.raid.RAID` .. py:class:: DDFConfiguration(physical_disks: list[DDFPhysicalDisk]) Bases: :py:obj:`dissect.volume.raid.raid.Configuration` .. py:class:: DDFVirtualDisk(vdcr: VirtualDiskConfigurationRecord, vdr: VirtualDiskRecord, disks: dissect.volume.raid.raid.DiskMap) Bases: :py:obj:`dissect.volume.raid.raid.VirtualDisk` .. py:attribute:: vdcr .. py:attribute:: vdr .. py:attribute:: disks .. py:property:: virtual_disk_configuration_record :type: VirtualDiskConfigurationRecord .. py:property:: virtual_disk_record :type: VirtualDiskRecord .. py:class:: DDFPhysicalDisk(fh: BinaryIO, sector_size: int = DEFAULT_SECTOR_SIZE) Bases: :py:obj:`dissect.volume.raid.raid.PhysicalDisk` .. py:attribute:: sector_size :value: 512 .. py:attribute:: anchor .. py:attribute:: primary_header_offset .. py:attribute:: secondary_header_offset :value: None .. py:attribute:: primary_header .. py:attribute:: secondary_header :value: None .. py:attribute:: active_header_offset .. py:attribute:: controller_data .. py:attribute:: physical_disk_records .. py:attribute:: virtual_disk_records .. py:attribute:: virtual_disk_configuration_records :value: [] .. py:attribute:: physical_disk_data .. py:attribute:: guid .. py:attribute:: reference .. py:attribute:: type .. py:attribute:: state .. py:attribute:: path_information .. py:attribute:: block_size .. py:method:: __repr__() -> str .. py:class:: ControllerData(fh: BinaryIO) .. py:attribute:: header .. py:attribute:: guid .. py:attribute:: type .. py:method:: __repr__() -> str .. py:class:: PhysicalDiskData(fh: BinaryIO) .. py:attribute:: header .. py:attribute:: guid .. py:attribute:: reference .. py:method:: __repr__() -> str .. py:class:: PhysicalDiskRecord(fh: BinaryIO) .. py:attribute:: header .. py:attribute:: guid .. py:attribute:: reference .. py:attribute:: type .. py:attribute:: state .. py:attribute:: size .. py:attribute:: path_information .. py:attribute:: block_size .. py:method:: __repr__() -> str .. py:class:: VirtualDiskRecord(fh: BinaryIO) .. py:attribute:: header .. py:attribute:: guid .. py:attribute:: number .. py:attribute:: type .. py:attribute:: state .. py:attribute:: init_state .. py:attribute:: name .. py:method:: __repr__() -> str .. py:class:: VirtualDiskConfigurationRecord(fh: BinaryIO, num_entries: int) .. py:attribute:: header .. py:attribute:: guid .. py:attribute:: guid_timestamp .. py:attribute:: timestamp .. py:attribute:: sequence_number .. py:attribute:: primary_element_count .. py:attribute:: strip_size .. py:attribute:: primary_raid_level .. py:attribute:: raid_level_qualifier .. py:attribute:: secondary_element_count .. py:attribute:: secondary_element_seq .. py:attribute:: secondary_raid_level .. py:attribute:: size .. py:attribute:: block_size .. py:attribute:: rotate_parity_count .. py:attribute:: physical_disk_sequence .. py:attribute:: starting_block .. py:method:: __repr__() -> str