exfat · shipping · also extensible File Allocation Table

exFAT

exFAT is a file system in the FAT family that separates cluster-allocation tracking from file cluster-chain traversal.

Related Observatory article: Read on hesela.com

An Allocation Bitmap records which clusters are unavailable. For a stream with NoFatChain set, FirstCluster and DataLength describe a contiguous allocation and the corresponding FAT entries must be ignored. For an allocated stream with NoFatChain clear, the FAT supplies the chain. An empty file has no cluster chain. The root directory always uses a FAT chain. [1]

Linux v6.12 implements both paths: its last-cluster lookup uses arithmetic for a no-chain allocation and traverses FAT links otherwise. A FAT chain can itself describe consecutive clusters. [2]

NameHash is not a file identifier: this 16-bit value filters lookup candidates. The volume's Up-case Table supplies character mappings; matching hashes still require comparing the mapped names. [3]

Linux v6.16 filters by both name length and hash before exfat_uniname_ncmp compares up-cased code units. Equal-length AB and EA both hash to 0x2029 but remain different names; AB and ab compare equal in this ASCII example. These exact arithmetic controls do not run the filesystem or demonstrate a kernel defect. [4] [5] [6]

Relations

related
ValidDataLength (exFAT), Allocation bitmap, FAT cluster chain, File storage, Free-space fragmentation, Filesystem allocation unit, Filename collision

Citations

  1. Microsoft exFAT specification: sections 3.1.10, 6.3.4.2, 7.1 and 7.6 (accessed 2026-10-20)
  2. Linux v6.12: exFAT chain traversal and allocation, fs/exfat/fatent.c (accessed 2026-10-20)
  3. Microsoft exFAT specification: sections 7.2, 7.2.5 and 7.6.4 (accessed 2026-11-08)
  4. Linux v6.16: fs/exfat/dir.c, exfat_find_dir_entry (accessed 2026-11-08)
  5. Linux v6.16: fs/exfat/nls.c, exfat_uniname_ncmp and exfat_utf8_to_utf16 (accessed 2026-11-08)
  6. Hesela: exFAT NameHash arithmetic and identity boundaries (accessed 2026-11-08)

JSON: /data/terms/exfat.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. exFAT. Hesela. 2026-11-08. https://hesela.dev/terms/exfat/