fix(core): detection of mounted drives

This commit is contained in:
2026-09-30 12:35:48 +04:00
parent d2216f9eec
commit bcb696a666
+4 -1
View File
@@ -100,7 +100,10 @@ def scan_drives() -> List[DriveInfo]:
path = f"/dev/{name}"
# Check if mounted
is_mounted = path in mounted_devices or name in mounted_devices
is_mounted = False
#is_mounted = path in mounted_devices or name in mounted_devices
for md in mounted_devices:
is_mounted |= path in md
drive = DriveInfo(
name=name,