dissect.apfs.apfs

Module Contents

Classes

APFS

Container class for APFS operations.

Attributes

log

dissect.apfs.apfs.log
class dissect.apfs.apfs.APFS(fh: BinaryIO)

Container class for APFS operations.

Parameters:

fh – File-like object to read the APFS container from.

fh
sb
sbs
property block_size: int

The block size of the container.

property sectors_per_block: int

The number of 512-byte sectors per block.

property block_count: int

The total number of blocks in the container.

property uuid: uuid.UUID

The UUID of the container.

property keybag: dissect.apfs.objects.keybag.ContainerKeybag | None

The container keybag, if present.

property volumes: list[dissect.apfs.objects.fs.FS]

All the filesystems in the container.