diff --git a/libtorrent/src/storage.cpp b/libtorrent/src/storage.cpp index b00b1a253..07071785d 100755 --- a/libtorrent/src/storage.cpp +++ b/libtorrent/src/storage.cpp @@ -1019,7 +1019,11 @@ namespace libtorrent return true; } - return true; + if (!strcmp(fsinfo.f_fstypename, "hfs") + || !strcmp(fsinfo.f_fstypename, "ufs")) + return true; + + return false; #endif #if defined(__linux__) @@ -1033,11 +1037,12 @@ namespace libtorrent switch (buf.f_type) { case 0x5346544e: // NTFS + case 0x65735546: // NTFS-3G case 0xEF51: // EXT2 OLD case 0xEF53: // EXT2 and EXT3 case 0x00011954: // UFS case 0x52654973: // ReiserFS - case 0x52345362: // Reiser4 + case 0x52345362: // Reiser4 case 0x58465342: // XFS return true; }