diff --git a/thirdparty/UnixSupport/File.cs b/thirdparty/UnixSupport/File.cs index c49f3cf03..7a47fdd63 100644 --- a/thirdparty/UnixSupport/File.cs +++ b/thirdparty/UnixSupport/File.cs @@ -159,7 +159,7 @@ namespace UnixSupport /// The full path to look up public static FileType GetFileType(string path) { - + var fse = Mono.Unix.UnixFileInfo.GetFileSystemEntry(path); if (fse.IsRegularFile) return FileType.File; @@ -174,7 +174,7 @@ namespace UnixSupport else if (fse.IsCharacterDevice) return FileType.CharacterDevice; else if (fse.IsBlockDevice) - return FileType.CharacterDevice; + return FileType.BlockDevice; else return FileType.Unknown; } diff --git a/thirdparty/UnixSupport/UnixSupport.dll b/thirdparty/UnixSupport/UnixSupport.dll old mode 100755 new mode 100644 index 3e19cfe81..3d04df69f Binary files a/thirdparty/UnixSupport/UnixSupport.dll and b/thirdparty/UnixSupport/UnixSupport.dll differ