open images readonly
we don't support any write commands anyways
This commit is contained in:
parent
b09fe33dd8
commit
a1ec0384e7
|
@ -82,7 +82,6 @@ async fn run() -> Result<()> {
|
|||
let mut dev = BlockDevice::new(FileBackend::new(
|
||||
File::options()
|
||||
.read(true)
|
||||
.write(true)
|
||||
.open(image)
|
||||
.expect("Opening image"),
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue