Expand description
froggr: A simple file system implementation using the 9P protocol
A simple file system implementation using the 9P protocol.
§Features
- Flexible namespace management through bind operations
- Multiple binding modes (Replace, Before, After, Create)
- Union directories
- Custom environments
§Quick Start
use froggr::{FilesystemManager, NineP, BindMode};
use std::path::PathBuf;
// Create a new filesystem
let fs = NineP::new(PathBuf::from("/tmp/test"))?;
let manager = FilesystemManager::new(fs);
// Bind a directory
manager.bind(
"/source/path".as_ref(),
"/target/path".as_ref(),
BindMode::Replace
)?;§Bind Modes
Replace: Replaces existing content at the mountpointBefore: Adds content with higher priorityAfter: Adds content with lower priorityCreate: Creates mountpoint if needed
Re-exports§
pub use modules::mount::FilesystemManager;pub use modules::proto::NineP;pub use modules::namespace::BindMode;
Modules§
- modules
- Core filesystem modules.