make_erofs_mountable

Function make_erofs_mountable 

Source
pub fn make_erofs_mountable(image: OwnedFd) -> Result<OwnedFd>
Expand description

Prepares an open erofs image file for mounting.

On RHEL9 kernels (before 6.12), this creates a loopback device because erofs cannot directly mount files on these older kernels.