New: Detect shfs mounts in disk space

(cherry picked from commit 1aef91041e404f76f278f430e4e53140fb125792)
pull/3411/head
Bogdan 1 month ago
parent 2d5fc655c0
commit 5a9a6e593b

@ -6,11 +6,12 @@ namespace NzbDrone.Mono.Disk
{
public static class FindDriveType
{
private static readonly Dictionary<string, DriveType> DriveTypeMap = new Dictionary<string, DriveType>
private static readonly Dictionary<string, DriveType> DriveTypeMap = new ()
{
{ "afpfs", DriveType.Network },
{ "apfs", DriveType.Fixed },
{ "fuse.mergerfs", DriveType.Fixed },
{ "fuse.shfs", DriveType.Fixed },
{ "fuse.glusterfs", DriveType.Network },
{ "nullfs", DriveType.Fixed },
{ "zfs", DriveType.Fixed }

Loading…
Cancel
Save