Skip to main content

Crate mbrkit

Crate mbrkit 

Source
Expand description

The library crate hosts all reusable logic for the mbrkit binary.

The binary stays intentionally small so that command parsing, image layout building, MBR encoding, and report generation can be tested directly.

Re-exports§

pub use error::MbrkitError;
pub use error::Result;

Modules§

cli
CLI definitions for mbrkit.
error
Error types shared by all mbrkit modules.
layout
Layout models and argument parsing helpers for disk construction.
manifest
Manifest parsing support for mbrkit pack.
mbr
MBR data structures and sector encoding helpers.
report
Human-friendly and machine-friendly reports for inspection and verification.

Functions§

run
Parse CLI arguments and execute the selected command.