pub fn erofs_mount(image: OwnedFd) -> Result<OwnedFd>Expand description
Mounts an erofs image file.
Creates a read-only erofs mount from the provided image file descriptor. On older kernels, this may involve creating a loopback device.
§Arguments
image- File descriptor for the erofs image file
§Returns
Returns a file descriptor for the mounted filesystem, which can be used with
mount_at() or other mount operations.