Adds support for FAT+, closes #14

This commit is contained in:
2016-09-13 12:58:19 +01:00
parent e39b45f918
commit 6b70265a5d
3 changed files with 12 additions and 4 deletions

View File

@@ -214,9 +214,18 @@ namespace DiscImageChef.Filesystems
// Let's start the fun
if(fat32_signature == "FAT32 ")
{
// TODO: Check with a real FAT+ to see where the version is set
if(bpb_sector[0x2A] == 1 || (bpb_sector[0x2B] == 1)
{
sb.AppendLine("FAT+"); // Seems easy, check reading
xmlFSType.Type = "FAT+";
}
else
{
sb.AppendLine("Microsoft FAT32"); // Seems easy, check reading
xmlFSType.Type = "FAT32";
}
isFAT32 = true;
}
else if((first_fat_entry & 0xFFFFFFF0) == 0xFFFFFFF0) // Seems to be FAT16

View File

@@ -101,7 +101,7 @@ Supported file systems for identification and information only
* Linux extended file system 4
* Microsoft 12-bit File Allocation Table (FAT12), including Atari ST extensions
* Microsoft 16-bit File Allocation Table (FAT16)
* Microsoft 32-bit File Allocation Table (FAT32)
* Microsoft 32-bit File Allocation Table (FAT32), including FAT+ extension
* BSD Fast File System (FFS) / Unix File System (UFS)
* BSD Unix File System 2 (UFS2)
* Microsoft/IBM High Performance File System (HPFS)

1
TODO
View File

@@ -21,7 +21,6 @@ Filesystem plugins:
--- Add support for NwFS
--- Add support for Squashfs
--- Add support for X-Box filesystems
--- Add support for FAT+
--- Add support for ReFS
--- Add support for ECMA-67