YAFFS - OSDev Wiki https://wiki.osdev.
org/YAFFS
YAFFS
YAFFS (Yet Another Flash File System) is a file system designed for flash media. There are two
versions of YAFFS - YAFFS1 and YAFFS2. Filesystems
Virtual Filesystems
Flash media has the benefit that seek time is virtually non-existent - so data can be as fragmented and
scattered as much as it likes without affecting performance. This makes it unsuited for non-flash
media that requires seeking. It is purposely designed to not try to reclaim space until the disk is near VFS
full - as flash memory has a limited number of re-writes so it becomes advantageous to stretch data out
across the disk as much as possible. Disk Filesystems
YAFFS has the benefit of requiring no formatting. A device simply erased to 0 can be mounted and FAT 12/16/32, VFAT,
used as a valid YAFFS file system. ExFAT
Ext 2/3/4
YAFFS writes whole pages (also called chunks) to flash media at a time. LEAN
HPFS
YAAFS implementations are recommended to maintain a tree structure in memory of the physical NTFS
locations of each chunks for fast look up. HFS
HFS+
Mounting requires scanning every page in the entire media to construct the internal tree structure. As
MFS
flash memory has no seek time, this is fast.
ReiserFS
FFS (Amiga)
YAFFS2 FFS (BSD)/UFS
BeFS
YAFFS2 is an extension of YAFFS1. It features the following differences: BFS
XFS
Support for media with large pages. Internal structures in YAFFS2 are not fixed to assume 512 SFS
byte sizing. ZDSFS
ZFS
Support for write once media. A block sequence number is added to each written page. Older USTAR
pages can be logically overwritten without physically overwriting them.
CD/DVD Filesystems
External links
ISO 9660
1 of 2 7/3/2025, 1:52 PM
YAFFS - OSDev Wiki https://wiki.osdev.org/YAFFS
YAFFS official website (http://www.yaffs.net/) Joliet
UDF
YAFFS 2 Specification and Development Notes (http://www.yaffs.net/yaffs-2-specification-and-
development-notes) Network Filesystems
Introducing YAFFS, the first NAND-specific flash file system (http://www.linuxdevices.com/articles/
AT9680239525.html) NFS
YAFFS Wikipedia Article (https://en.wikipedia.org/wiki/YAFFS) RFS
AFS
Flash Filesystems
JFFS2
YAFFS
Retrieved from "https://wiki.osdev.org/index.php?title=YAFFS&oldid=29106"
This page was last edited on 7 June 2024, at 13:40.
This page has been accessed 4,543 times.
2 of 2 7/3/2025, 1:52 PM