* choose ESP matching the primary data disk when multiple ESPs exist, falling back gracefully for single-disk layouts * keep new helper to normalize device names and reuse the idempotent mount logic * apply cargo fmt across the tree
21 lines
482 B
Rust
21 lines
482 B
Rust
//! Crate root for zosstorage: one-shot disk provisioning utility for initramfs.
|
|
|
|
pub mod cli;
|
|
pub mod config;
|
|
pub mod device;
|
|
pub mod errors;
|
|
pub mod fs;
|
|
pub mod idempotency;
|
|
pub mod logging;
|
|
pub mod mount;
|
|
pub mod orchestrator;
|
|
pub mod partition;
|
|
pub mod report;
|
|
pub mod types;
|
|
pub mod util; // top-level types (moved from config/types.rs for visibility)
|
|
|
|
pub use errors::{Error, Result};
|
|
|
|
/// Crate version string from Cargo.
|
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|