4 void detect_dos_partmap(SECTION *section, int level);
5 void detect_gpt_partmap(SECTION *section, int level);
6 void detect_fat(SECTION *section, int level);
7 +void detect_exfat(SECTION *section, int level);
8 void detect_ntfs(SECTION *section, int level);
9 void detect_hpfs(SECTION *section, int level);
10 void detect_dos_loader(SECTION *section, int level);
22 /* since the above is also present on NTFS, make sure it's not NTFS... */
23 if (memcmp(buf + 3, "NTFS ", 8) == 0)
25 + if (memcmp(buf + 3, "EXFAT ", 8) == 0)
28 /* next, some soft tests, taking score */
37 +void detect_exfat(SECTION *section, int level)
41 + if (get_buffer(section, 0, 512, (void **)&buf) < 512)
44 + /* check signatures */
45 + if (memcmp(buf + 3, "EXFAT ", 8) != 0)
49 + print_line(level, "exFAT file system");