Skip to main content

Crate miniximg

Crate miniximg 

Source
Expand description

Reusable Minix filesystem image logic.

The library keeps all filesystem semantics inside the core crate so that the CLI can stay focused on parsing user input and rendering reports.

Re-exports§

pub use build::BuildEntry;
pub use build::BuildRequest;
pub use build::DeviceMapping;
pub use build::DeviceNodeKind;
pub use build::DirectoryMapping;
pub use build::FileMapping;
pub use build::ImageSpec;
pub use build::TreeMapping;
pub use build::build_image;
pub use build::device_number;
pub use error::MinixError;
pub use error::Result;
pub use fs::CreateImageOptions;
pub use fs::CreateNodeOptions;
pub use fs::MinixFileSystem;
pub use layout::BLOCK_SIZE;
pub use layout::DIRECT_ZONE_COUNT;
pub use layout::DIRECTORY_ENTRY_SIZE;
pub use layout::INDIRECT_ENTRY_COUNT;
pub use layout::InodeMode;
pub use layout::InodeModeFlags;
pub use layout::InodeType;
pub use layout::MINIX_NAME_LENGTH;
pub use layout::MINIX_SUPER_MAGIC;
pub use layout::ROOT_INODE_NUMBER;
pub use report::CheckIssue;
pub use report::CheckReport;
pub use report::DirectoryEntryInfo;
pub use report::InspectReport;
pub use report::NodeMetadata;
pub use report::TreeEntry;

Modules§

bitmap
In-memory bitmap helpers used by inode and zone allocation.
build
Build-request DTOs and host-directory image construction helpers.
error
Error types shared by the Minix image library and CLI.
fs
Stateful Minix filesystem image access and mutation logic.
layout
On-disk Minix layout types and byte encoding helpers.
path
Path parsing and normalization helpers for image-internal paths.
report
Shared report models returned by inspection and file operations.