mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 13:54:29 +00:00
New: Detect shfs mounts
This commit is contained in:
parent
2e043c0cf7
commit
d3cbb9be8d
1 changed files with 10 additions and 9 deletions
|
@ -6,15 +6,16 @@ namespace NzbDrone.Mono.Disk
|
|||
{
|
||||
public static class FindDriveType
|
||||
{
|
||||
private static readonly Dictionary<string, DriveType> DriveTypeMap = new Dictionary<string, DriveType>
|
||||
{
|
||||
{ "afpfs", DriveType.Network },
|
||||
{ "apfs", DriveType.Fixed },
|
||||
{ "fuse.mergerfs", DriveType.Fixed },
|
||||
{ "fuse.glusterfs", DriveType.Network },
|
||||
{ "nullfs", DriveType.Fixed },
|
||||
{ "zfs", DriveType.Fixed }
|
||||
};
|
||||
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 }
|
||||
};
|
||||
|
||||
public static DriveType Find(string driveFormat)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue