vhd 0.1.0

Pure-Rust read-only legacy VHD (Virtual PC) disk image reader
Documentation
  • Coverage
  • 28%
    7 out of 25 items documented0 out of 4 items with examples
  • Size
  • Source code size: 5.32 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 570.42 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • h4x0r

Pure-Rust read-only legacy VHD disk image reader.

Implements the MS-VHD specification (Virtual PC / Virtual Server / Hyper-V Generation-1 format). Supports Fixed and Dynamic disk types. Differencing disks are rejected (parent locator resolution is out of scope).

Format overview

Every VHD ends with a 512-byte footer (cookie = "conectix").

  • Fixed: the footer immediately follows the raw sector data.
  • Dynamic: footer → dynamic header → Block Allocation Table (BAT) → data blocks, with a copy of the footer at byte 0.