Function block_utils::mount_device

source ·
pub fn mount_device(device: &Device, mount_point: &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.