Skip to main content

attach_persistent_rootfs

Function attach_persistent_rootfs 

Source
pub fn attach_persistent_rootfs(
    box_dir: &Path,
) -> Result<Option<AttachedRootfs>>
Expand description

Attach an existing platform-backed persistent rootfs for offline access.

Returns None when the box has no platform-specific backing image. This never creates a new image, so callers cannot accidentally commit an empty filesystem when a backing image is missing.