Reliability You Can Depend On

In embedded systems, the unexpected is inevitable. Power fails. Hardware degrades. Users do unpredictable things. Your file system needs to handle all of it without losing data.

YAFFS was designed from day one with this reality in mind. Every design decision prioritises data integrity and system recoverability. It's not just a feature—it's the foundation.

That's why YAFFS runs on NASA's TESS satellite, in medical devices, in industrial systems, and in millions of consumer products worldwide. When reliability isn't optional, engineers choose YAFFS.

"The file system is the foundation of data integrity. If it fails, everything built on top fails with it."

— Charles Manning, YAFFS Chief Architect

Built for Reliability

Power-Fail Safety

Embedded systems lose power without warning. YAFFS uses a log-structured design where every write is atomic. If power fails mid-operation, the file system automatically recovers to the last consistent state.

No corruption. No lost files. No manual intervention. Just restart and continue.

Guaranteed Consistency

YAFFS maintains file system integrity at all times. There's no "dirty" state that requires fsck to repair. The file system is always valid, always recoverable.

Fast boot times without lengthy consistency checks, even after unexpected shutdowns.

🛡

Bad Block Management

Flash memory develops bad blocks—it's inevitable. YAFFS detects factory-marked bad blocks and runtime failures, automatically routing around them.

Your system keeps running even as the underlying storage degrades over time.

Wear Levelling

Flash cells have limited write endurance. YAFFS distributes writes across the device to prevent hot spots, maximising the usable lifespan of your flash storage.

Get the most out of your hardware investment without complex external management.

🔧

ECC Integration

Bit errors happen in flash memory. YAFFS integrates with hardware or software ECC to detect and correct errors before they affect your data.

Multiple layers of protection for defence in depth against data corruption.

🧪

Battle-Tested

Over 20 years of production use in millions of devices. Rigorous power-fail testing, stress testing, and continuous refinement based on real-world feedback.

When we say YAFFS is reliable, we have two decades of evidence to back it up.

Optimised for Embedded Systems

🚀

Fast Boot

YAFFS mounts with a single sequential scan of the flash device. No tree walks, no journal replay, no lengthy startup delays. Your system is ready faster.

📊

Predictable Performance

Optimised garbage collection with configurable thresholds. No unexpected pauses or latency spikes during normal operation.

💾

Low Memory Footprint

Designed for resource-constrained systems. YAFFS uses minimal RAM, making it suitable for even modest embedded platforms.

⚙️

Direct Flash Access

Works directly with raw NAND and NOR flash. No Flash Translation Layer required—fewer layers means fewer points of failure.

🔌

Simple Integration

Clean interfaces for Linux kernel, RTOS, or bare-metal integration. YAFFS Direct provides a POSIX-like API for easy adoption.

📦

Full Source Code

No black boxes. Full source code access means you can verify behaviour, debug issues, and adapt to your specific needs.

Runs Anywhere

YAFFS is designed for portability. The core code is written in clean, portable C with minimal dependencies. It's been proven across virtually every embedded platform.

Operating Systems

  • Linux (kernel module or userspace)
  • VxWorks
  • eCos
  • FreeRTOS
  • Windows CE/Embedded
  • Custom RTOS
  • Bare-metal (no OS)

CPU Architectures

  • ARM (all variants)
  • MIPS
  • PowerPC
  • x86 / x64
  • RISC-V
  • And many more...

Flash Types

  • NAND flash (SLC, MLC, TLC)
  • NOR flash
  • Various page sizes (512B to 16KB+)
  • Various OOB configurations

How YAFFS Compares

Understanding your options helps you make the right choice for your project.

Feature YAFFS JFFS2 UBIFS
Power-fail safety Excellent Good Good
Mount time Fast (single scan) Slow (full scan) Fast
RAM usage Low High Medium
Complexity Low Medium High (requires UBI)
RTOS support Excellent Linux only Linux only
NOR flash support Yes Yes No
Commercial licensing Available GPL only GPL only

Need help deciding? Talk to our engineers

Ready to Get Started?

Download YAFFS under GPL for evaluation, or contact us for commercial licensing. Full source code, no royalties.