From: Vratislav Podzimek <vpodzime(a)redhat.com>
---
blivet/mounts.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/blivet/mounts.py b/blivet/mounts.py
index 6bb00d4..c787fde 100644
--- a/blivet/mounts.py
+++ b/blivet/mounts.py
@@ -151,7 +151,8 @@ def _get_active_mounts(self):
continue
# use the canonical device path (if available)
- devspec = resolve_devspec(devspec, sysname=True) or devspec
+ if devspec.startswith("/dev"):
+ devspec = resolve_devspec(devspec, sysname=True) or devspec
if fstype == "btrfs":
root = mountinfo.get_root(devspec, mountpoint)
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/86bbc98fd7a728285d303f0494c4...