Download as odp, pdf, or txt
Download as odp, pdf, or txt
You are on page 1of 6

JFFS2 File System

By RAHUL C
.
Journalling Flash File System
version 2

● What is JFFS2?
JFFS2 is a log-structured file system for use with
flash memory devices
It is the successor to JFFS
● Why File System?
To store files and their metadata(stored in DS
called index-node)(Name,Type,Address,Current
length,Date last accessed,Date last
updated,Owner id,Protection information of a
file)
Ex: FAT,NTFS,ext(Extended FS) etc.
2
3
JFFS2 offers
1.Journalling:Stays in a consistent state after abrupt power failures and system
crashes

2.Wear leveling: Flash memory devices tend to wear out when a single block is
repeatedly overwritten; flash file systems are designed to spread out writes
evenly.(FS like FAT,NTFS,ext2 originally designed for magnetic disks and it
rewrites data to same area)

3.Log-structured file system:Nodes containing data and metadata are


stored on the flash chips sequentially [1]

File system will write a new copy of the changed data over to a fresh block,
remap the file pointers, then erase the old block later when it has time(Garbage
Collection) in background.

4.Support for both NOR and NAND(eMMC) Flash memories.


Note: JFFS supports only for NOR Flash memory

5.Data Compression:Stores data in compressed form(Four algorithms are


available: zlib, rubin, rtime, and lzo.)
Note: JFFS does not support Data Compression 4
References

● [1] Red Hat : JFFS : The Journalling Flash File System,


By David Woodhouse,Red Hat, Inc.
● Bootlin : https://bootlin.com/
● Texas Instruments : http://processors.wiki.ti.com
● Axis Communication : http://developer.axis.com/

5
THANK YOU

You might also like