diff --git a/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs b/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs index 9c05ca3054..5aecbd03bd 100644 --- a/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs +++ b/src/runtime-rs/crates/resource/src/volume/share_fs_volume.rs @@ -121,7 +121,7 @@ fn is_host_device(dest: &str) -> bool { return true; } - if dest.starts_with("/dev") { + if dest.starts_with("/dev/") { let src = match std::fs::canonicalize(dest) { Err(_) => return false, Ok(src) => src,