Crates.io | vdi |
lib.rs | vdi |
version | 0.2.0 |
created_at | 2025-09-25 17:51:37.374529+00 |
updated_at | 2025-09-25 21:31:47.279297+00 |
description | Parser for the VirtualBox VDI disk image format |
homepage | |
repository | https://github.com/cohaereo/vdi-rs |
max_upload_size | |
id | 1854917 |
size | 22,320 |
This crate provides support for reading VirtualBox Virtual Disk Images (VDI).
Opened VDI files can be read using the std Read/Seek traits (writing is not supported (yet)).
Additionally, VdiDisk
implements ReadAt
from positioned-io2
let file = File::open(&path)?;
let mut disk = VdiDisk::open(file)?;
println!("VDI header: {:X?}", disk.header);
let partitions = bootsector::list_partitions(&mut disk, &bootsector::Options::default())?;