Professional Documents
Culture Documents
JFFS2 File System: by Rahul C
JFFS2 File System: by Rahul C
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)
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.
5
THANK YOU