pub fn open_file_for_block(path: &Path, read_only: bool) -> Result<File>
Expand description
Opens a file for use with BlockDevice
or OpenBlockDeviceConfig
.
pub fn open_file_for_block(path: &Path, read_only: bool) -> Result<File>
Opens a file for use with BlockDevice
or OpenBlockDeviceConfig
.