dissect.apfs

Subpackages

Submodules

Package Contents

Classes

APFS

Container class for APFS operations.

class dissect.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.

exception dissect.apfs.Error

Bases: Exception

Common base class for all non-exit exceptions.

exception dissect.apfs.FileNotFoundError

Bases: Error, FileNotFoundError

Common base class for all non-exit exceptions.

exception dissect.apfs.NotADirectoryError

Bases: Error, NotADirectoryError

Common base class for all non-exit exceptions.

exception dissect.apfs.NotASymlinkError

Bases: Error

Common base class for all non-exit exceptions.