mount_composefs_image

Function mount_composefs_image 

Source
pub fn mount_composefs_image(
    sysroot: &OwnedFd,
    name: &str,
    insecure: bool,
) -> Result<OwnedFd>
Expand description

Prepares a floating mount for composefs and returns the fd

ยงArguments

  • sysroot - fd for /sysroot
  • name - Name of the EROFS image to be mounted
  • insecure - Whether fsverity is optional or not