Skip to main content

passthrough_layer

Function passthrough_layer 

Source
pub fn passthrough_layer(root: &Path) -> Result<Arc<BoxedLayer>, MountError>
Expand description

Build a BoxedLayer from a host directory using PassthroughFs.

read_only controls only the cache policy hint; OverlayFs enforces the RO-lower / RW-upper distinction structurally by which slot a layer occupies. This is the test/bootstrap layer constructor; FS-B swaps the lower for RAFS.