mount_device

Function mount_device 

Source
pub fn mount_device(
    device: &Device,
    mount_point: impl AsRef<Path>,
) -> BlockResult<i32>
Expand description

Utility function to mount a device at a mount point NOTE: This assumes the device is formatted at this point. The mount will fail if the device isn’t formatted.