From a1ec0384e724f609bb8e391512a8fa76d9894e55 Mon Sep 17 00:00:00 2001 From: Yureka Date: Thu, 1 Aug 2024 20:47:05 +0200 Subject: [PATCH] open images readonly we don't support any write commands anyways --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f2d4ebe..abd8f44 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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"), ));