Post

Storage filesystems cheatsheet

Some notes about OS filesystems

Storage filesystems cheatsheet

Table of contents

Description

When using storage drives (USB sticks, SD cards, external HDD/SSD), the file system determines how data is organized, stored, and accessed. Affecting compatibility, speed, and reliability.

Comparison File and Volume Size Limits

File SystemMax File SizeMax Volume SizeNotes
FAT324 GB2 TBVery common, works on almost any device, but limited by 4 GB file cap
exFAT16 EB128 PBGreat for large files, supported by most modern OSes
NTFS16 EB16 EBWindows-native, handles large files well
ext416 TB1 EBLinux-native, high performance, journaling support
APFS8 EB8 EBmacOS-native, optimized for SSDs
AcronymNameSize
GBGigabyte1024 MB
TBTerabyte1024 GB
PBPetabyte1024 TB
EBExabyte1024 PB

Portability (Cross-Platform Support)

File SystemWindowsmacOSLinux
FAT32
exFAT
NTFSRead-only by default✅ (RW with ntfs-3g)
ext4
APFS/HFS+Partial (drivers needed)

Reliability & Data Protection

  • Journaling (ext4, NTFS, APFS, HFS+): Keeps a transaction log to prevent corruption after power loss.
  • Non-journaling (FAT32, exFAT): Faster on simple devices but more prone to corruption.

Performance

  • SSDs benefit from file systems optimized for flash memory (e.g., APFS, exFAT).
  • Mechanical HDDs often perform consistently across modern FS types.
This post is licensed under CC BY 4.0 by the author.