mount_read_only

Function mount_read_only 

Source
pub fn mount_read_only<B>(
    filesystem: LinuxReadOnlyFilesystem<B>,
    mountpoint: impl AsRef<Path>,
    config: &LinuxMountConfig,
) -> Result<()>
where B: CloudFilesBackend + 'static,
Expand description

Mounts a blocking read-only FUSE session using product-neutral hardened defaults.

ยงErrors

Returns an error when the mountpoint cannot be opened or the FUSE session cannot be mounted.