mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-22 05:50:56 +00:00
Fixed: /var/lib/docker no longer shows up in DiskSpace. Caused warnings if the user used docker with zfs storage driver.
fixes #1663
This commit is contained in:
parent
0255eb3aca
commit
657730f4d2
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ private IMount ParseLine(string line)
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mount.StartsWith("/var/lib/"))
|
||||||
|
{
|
||||||
|
// Could be /var/lib/docker when docker uses zfs. Very unlikely that a useful mount is located in /var/lib.
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
var driveType = FindDriveType.Find(type);
|
var driveType = FindDriveType.Find(type);
|
||||||
|
|
||||||
if (name.StartsWith("/dev/") || GetFileSystems().GetValueOrDefault(type, false))
|
if (name.StartsWith("/dev/") || GetFileSystems().GetValueOrDefault(type, false))
|
||||||
|
|
Loading…
Reference in a new issue