ubifs · shipping · also UBIFS, UBI File System

UBI File System (UBIFS)

UBIFS is a Linux flash filesystem that stores files on UBI volumes, with an on-flash index and journal recovery while delegating wear and bad-block management to UBI.

Related Observatory article: Read on hesela.com

The stack is UBIFS over UBI over MTD. Unlike JFFS2's direct MTD use, UBIFS consumes UBI volumes; it is not a filesystem to mount directly on a normal SSD block device. [1]

An on-flash index avoids rebuilding the entire filesystem index by scanning all its contents at mount. UBIFS also supports write-back, compression and journal replay after an unclean shutdown. Filesystem recovery and recovery of unreadable physical data are different responsibilities. [1] [2]

Integrity checks depend on configuration. The Linux v6.16 documentation lists no_chk_data_crc as the default: skipping CRC checks on file-data nodes can leave file-content corruption unnoticed. chk_data_crc enables those checks. Neither option promises to reconstruct damaged data. [1]

For an embedded-system report, record the UBI volume, filesystem mount options and underlying MTD device separately so a filesystem symptom is not mistaken for a physical-block diagnosis. This is an operational inference from the layer boundaries. [2]

UBIFSec was a research extension, not another name for stock UBIFS. Its 2012 secure-deletion protocol combined atomic replacement of key-storage blocks with erasure flushing and key-state recovery. Cite that protocol separately from ordinary filesystem replay or data-node CRC checks. [3]

UBIFS authentication is a separate integrity mechanism; it does not prevent full-flash rollback or rollback of individual index commits. [4]

Relations

related
Unsorted Block Images (UBI), NAND flash, Bad block management, NAND erase block, Atomic LEB change (UBI), Memory Technology Device (MTD), UBIFS authentication, UBI Fastmap

Citations

  1. Linux v6.16, UBI File System: architecture, recovery and mount options (accessed 2026-10-21)
  2. Linux kernel, UBIFS Authentication Support: MTD, UBI and UBIFS (accessed 2026-10-21)
  3. Reardon, Capkun and Basin, Data Node Encrypted File System: Efficient Secure Deletion for Flash Memory, USENIX Security 2012, sections 2 and 4.2 (accessed 2026-10-21)
  4. Linux v6.16: UBIFS Authentication Support, threat model and index/journal authentication (accessed 2026-10-25)
Sources & caveats
  • The mount-option statement is pinned to Linux v6.16 documentation; check the deployed kernel and effective mount options. No power-loss or corruption test was performed.

JSON: /data/terms/ubifs.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. UBI File System (UBIFS). Hesela. 2026-11-30. https://hesela.dev/terms/ubifs/