Skip to main content

Crate vmdk

Crate vmdk 

Source
Expand description

Pure-Rust read-only VMDK disk image reader.

Supports monolithic sparse (monolithicSparse), stream-optimised (streamOptimized, including allocated compressed grains), flat-extent VMDKs (twoGbMaxExtentFlat, monolithicFlat), and multi-file sparse extents (twoGbMaxExtentSparse).

Modules§

header
Sparse extent header (Virtual Disk Format 1.1, §4.1).
sesparse
seSparse (Space-Efficient Sparse) extent reader — vSphere 6.5+ VMFS6 snapshots.

Structs§

AllocatedGrain
A contiguous range of allocated (non-sparse) sectors in a VMDK virtual disk.
DiskDatabase
Parsed ddb.* disk database from a VMDK descriptor.
DiskGeometry
Virtual disk CHS geometry from ddb.geometry.{cylinders,heads,sectors}.
VmdkChainReader
A read-only view over a VMDK snapshot chain.
VmdkDigest
SHA-256 and MD5 hash of the full virtual disk contents.
VmdkInfo
Structured metadata for a VMDK virtual disk.
VmdkReader
Read-only VMDK container reader, generic over any Read + Seek source.

Enums§

VmdkError
Errors returned while opening or parsing a VMDK image.

Traits§

ReadSeek
Object-safe combination of Read and Seek.

Type Aliases§

VmdkFileReader
A VMDK reader opened from a file-system path, with an erased inner type.