Decode and list EAs in FAT12 and FAT16.

This commit is contained in:
2019-04-27 20:19:18 +01:00
parent 3d8f0f2380
commit 27d1f83d61
5 changed files with 124 additions and 7 deletions

View File

@@ -82,6 +82,7 @@ namespace DiscImageChef.Filesystems.FAT
const byte LFN_MASK = 0x1F;
const ushort EADATA_MAGIC = 0x4445;
const ushort EASCTR_MAGIC = 0x4145;
const ushort EA_UNUSED = 0xFFFF;
readonly (string hash, string name)[] knownBootHashes =
{
@@ -217,5 +218,12 @@ namespace DiscImageChef.Filesystems.FAT
Nt,
Lfn
}
[Flags]
enum EaFlags : uint
{
Normal = 0,
Critical = 1
}
}
}