From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:ExFAT" |
|---|
| claim | "The exFAT main boot sector: OEM name 'EXFAT ' at 3, 53 zero bytes, then 64-bit partition offset and volume length, FAT and cluster heap geometry, root cluster, and 0xAA55 at 510." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ExFAT" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "exfat_boot_sector" |
|---|
| size | "0x200" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x00" |
|---|
| size | 3 |
|---|
| type | "uint8_t[3]" |
|---|
| name | "jmp_boot" |
|---|
|
| offset | "0x03" |
|---|
| size | 8 |
|---|
| type | "char[8]" |
|---|
| name | "fs_name" |
|---|
| condition | ""EXFAT "" |
|---|
|
| offset | "0x0B" |
|---|
| size | 53 |
|---|
| type | "uint8_t[53]" |
|---|
| name | "must_be_zero" |
|---|
|
| offset | "0x40" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "partition_offset" |
|---|
|
| offset | "0x48" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "vol_length" |
|---|
|
| offset | "0x50" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "fat_offset" |
|---|
|
| offset | "0x54" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "fat_length" |
|---|
|
| offset | "0x58" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "clu_offset" |
|---|
|
| offset | "0x5C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "clu_count" |
|---|
|
| offset | "0x60" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "root_cluster" |
|---|
|
| offset | "0x64" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "vol_serial" |
|---|
|
| offset | "0x68" |
|---|
| size | 2 |
|---|
| type | "uint8_t[2]" |
|---|
| name | "fs_revision" |
|---|
|
| offset | "0x6A" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "vol_flags" |
|---|
|
| offset | "0x6C" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "sect_size_bits" |
|---|
|
| offset | "0x6D" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "sect_per_clus_bits" |
|---|
|
| offset | "0x6E" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "num_fats" |
|---|
|
| offset | "0x6F" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "drv_sel" |
|---|
|
| offset | "0x70" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "percent_in_use" |
|---|
|
| offset | "0x71" |
|---|
| size | 7 |
|---|
| type | "uint8_t[7]" |
|---|
| name | "reserved" |
|---|
|
| offset | "0x78" |
|---|
| size | 390 |
|---|
| type | "uint8_t[390]" |
|---|
| name | "boot_code" |
|---|
|
| offset | "0x1FE" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "signature" |
|---|
| condition | "0xAA55" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct boot_sector with BOOTSEC_OLDBPB_LEN 53 and STR_EXFAT; offsets computed from the declaration" |
|---|
| repo | "torvalds/linux" |
|---|
| commit | "c03c1a14507dfaf8b856c2608f9ac216021fc222" |
|---|
| path | "fs/exfat/exfat_raw.h" |
|---|
| lines | "11-13, 79-113" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Boot sector" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T06:22:23.081Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:49:52.458Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read struct boot_sector in fs/exfat/exfat_raw.h at the cited commit: jmp_boot 3, fs_name 8, must_be_zero 53, partition_offset 0x40 ... percent_in_use 0x70, reserved[7], boot_code[390], signature at 0x1FE, packed 512 bytes. Offsets computed and match." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:37:32.424Z" |
|---|
| summary | "The field list stopped at percent_in_use (0x70) and jumped to the signature: struct boot_sector in exfat_raw.h also has reserved[7] at 0x71 and boot_code[390] at 0x78 before the signature at 0x1FE…" |
|---|
| changed | |
|---|
|
|
|---|