dissect.apfs.objects.nx_superblock

Module Contents

Classes

NxSuperblock

APFS NX Superblock object.

class dissect.apfs.objects.nx_superblock.NxSuperblock(container: dissect.apfs.apfs.APFS, address: int, *, block: bytes | None = None, cipher: dissect.fve.crypto.Cipher | None = None)

Bases: dissect.apfs.objects.base.Object

APFS NX Superblock object.

__type__
__struct__
object: dissect.apfs.c_apfs.c_apfs.nx_superblock
check() None

Check the validity of the superblock.

compare(other: NxSuperblock) None

Compare this superblock to another superblock.

property block_size: int

The block size of the container.

property block_count: int

The total number of blocks in the container.

property features: dissect.apfs.c_apfs.c_apfs.NX_FEATURE

The features supported by this container.

property incompatible_features: dissect.apfs.c_apfs.c_apfs.NX_INCOMPAT

The incompatible features supported by this container.

property uuid: uuid.UUID

The UUID of the container.

property checkpoint_objects: list[dissect.apfs.objects.checkpoint_map.CheckpointMap | NxSuperblock]

All checkpoint objects in the container.

property ephemeral_objects: dict[int, dissect.apfs.objects.base.Object]

All ephemeral objects in the container.

property omap: dissect.apfs.objects.omap.ObjectMap

The object map of the container.

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

All the filesystems in the container.

property fusion_uuid: uuid.UUID

The Fusion Drive UUID.

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

The container keybag, if present.