From afdf0aee5a1653d2d20716ae3b51911d707077fd Mon Sep 17 00:00:00 2001 From: Chiragroop Date: Tue, 3 May 2022 17:35:46 -0700 Subject: [PATCH] Updated documentation of dm_mount --- src/mount.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount.rs b/src/mount.rs index 0aa02cb..a065762 100644 --- a/src/mount.rs +++ b/src/mount.rs @@ -123,7 +123,7 @@ fn losetup_mount(image: &OsString, block_size: u32) -> String { } /// Mounts the image using the parse map with the following commmand -/// ```dmsetup create {device name} --table {parse map}``` +/// ```dmsetup create {device name}``` and passes parse map in stdin fn dm_mount(map: &OsString, image_path: &OsString) -> (u32,String) { let entry = config::get_next_devices(); let image_path = image_path.to_str().unwrap();