We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b5970 commit c3d595cCopy full SHA for c3d595c
lib/src/blockdev.rs
@@ -197,7 +197,7 @@ pub(crate) fn find_parent_devices(device: &str) -> Result<Vec<String>> {
197
let kind = dev
198
.get("TYPE")
199
.with_context(|| format!("device in hierarchy of {device} missing TYPE"))?;
200
- if kind == "disk" {
+ if kind == "disk" || kind == "loop" {
201
parents.push(name.clone());
202
} else if kind == "mpath" {
203
0 commit comments