dissect.vmfs.util

Module Contents

Functions

bsf

Count the number of zero bits in an integer of a given size.

vmfs_uuid

Convert a UUID structure or bytes to a string representation.

dissect.vmfs.util.bsf(value: int) int

Count the number of zero bits in an integer of a given size.

dissect.vmfs.util.vmfs_uuid(buf: bytes | dissect.vmfs.c_lvm.c_lvm.UUID | dissect.vmfs.c_vmfs.c_vmfs.UUID) str

Convert a UUID structure or bytes to a string representation.

UUIDs in VMFS are represented as a combination of time, random bits and the host MAC address.

Parameters:

buf – The UUID structure or bytes to convert.