📚 AOS Docs

FAT32 Filesystem

File Allocation Table and File Management

Overview

FAT32 is the legacy but widely-supported filesystem. AOS reads FAT32 partitions for file access and kernel loading.

FAT32 Partition Structure

Region Purpose
Boot Sector Partition info and BPB
FAT Allocation table
Root Directory Root folder entries
File Data Actual file contents

Key Takeaways

  • ✓ FAT32 uses 32-bit cluster pointers
  • ✓ Cluster chains track multi-sector files
  • ✓ Directory entries 32 bytes each
  • ✓ Supports up to 4GB files
  • ✓ Long filename support via VFAT