#microsoft #disk #virtual #hard #format #read

vhdx

An implementation of Microsoft's VHDX virtual hard disk format

1 unstable release

0.1.0 Sep 30, 2023

#1019 in Filesystem

22 downloads per month

MIT/Apache

48KB
1K SLoC

VHDX

Latest Version Rust Documentation Actions Status Unsafe Forbidden

An implementation of Microsoft's VHDX virtual hard disk format in Rust.

Based on Microsoft's Open Specification available at: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-vhdx

Usage

cargo add vhdx
[dependencies]
vhdx = "0.1"

Example

use std::io::Read;

let mut disk = vhdx::Vhdx::load("disk.vhdx");
let mut reader = disk.reader();

let mut buffer = [0; 512];
reader.read(&mut buffer).unwrap();

No runtime deps