JFFS

JFFS

The Journalling Flash File System (or JFFS) is a log-structured file system for use on NOR flash memory devices on the Linux operating system. It has been superseded by JFFS2.

Design

Flash memory has access constraints very unlike those of magnetic disks. In particular, erasing flash memory:
* Is necessary before writing
* Is slow
* Must be done in large (usually 64 KiB or more) segments
* Can only be done a certain number of times (typically less than a million)

File systems like ext2 typically update their data structures in-place, with data structures like inodes and directories updated on-disk after every modification. This concentrated lack of wear-levelling makes conventional file systems unsuitable for read-write use on flash devices. JFFS enforces wear levelling by treating the flash device as a circular log. All changes to files and directories is written to the tail of the log in "nodes". In each node, a header containing metadata is written first, followed by file data, if any. Nodes are chained together with offset pointers in the header. Nodes start out as "valid" and then become "obsolete" when a newer version of them is created.

The free space remaining in the file system is the gap between the log's tail and its head. When this runs low, a garbage collector copies valid nodes from the head to the tail and skips obsolete ones, thus reclaiming space.

Disadvantages

* At mount time, the file system driver must read the entire inode chain and then keep it in memory. This can be very slow. Memory consumption of JFFS is also proportional to the number of files in the file system.
* The circular log design means "all" data in the filesystem is re-written, regardless of whether it is static or not. This generates many unnecessary erase cycles and reduces the life of the flash medium.

ee also

* List of file systems
* JFFS2
* YAFFS

References

* Woodhouse, David. " [http://sources.redhat.com/jffs2/ JFFS2: The Journalling Flash File System, version 2] ".

External links

* [http://www.linuxdevices.com/articles/AT7478621147.html Flash Filesystems for Embedded Linux Systems]
* [http://developer.axis.com/software/jffs/ JFFS documentation and official mailing list]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • JFFS — El Sistema de Ficheros Flash con soporte a Transacciones (o JFFS) es un sistema de ficheros basado en una estructura de registros para usarse sobre memorias Flash NOR por parte de la empresa Axis Communication AB. En la actualidad, ha sido… …   Wikipedia Español

  • JFFS — El Sistema de Ficheros Flash con soporte a Transacciones (o JFFS) es un sistema de ficheros basado en una estructura de registros para usarse sobre memorias Flash NOR por parte de la empresa Axis Communication AB. En la actualidad, ha sido… …   Enciclopedia Universal

  • JFFS2 — Journalling Flash File System version 2 or JFFS2 is a log structured file system for use in flash memory devices. It is the successor to JFFS. JFFS2 has been included in the Linux kernel since the 2.4.10 release. JFFS2 is also available for Open… …   Wikipedia

  • JFFS2 — (Journaling Flash File System version 2, système de fichiers journalisé pour flash version 2) est un système de fichiers journalisé utilisé sur les systèmes à mémoire flash. Il succède à JFFS, et ne sera finalement pas remplacé par JFFS3 mais par …   Wikipédia en Français

  • Jffs2 — (Journaling Flash File System version 2, système de fichiers journalisé pour flash version 2) est un système de fichiers journalisé utilisé sur les systèmes à mémoire flash. Il succède à JFFS, et ne sera finalement pas remplacé par JFFS3 mais par …   Wikipédia en Français

  • JFFS2 — es un sistema de ficheros con soporte para transacciones especializado en memorias Flash, nace como sucesor de JFFS y será sucedido por JFFS3. Contenido 1 Características 1.1 Modificaciones respecto a JFFS 2 Desventajas …   Wikipedia Español

  • Axis Communications — Infobox Company company name = Axis Communications AB company company type = Public foundation = 1984 location = Lund, Sweden key people = Founder Mikael Karlsson Martin Gren President CEO Ray Mauritsson CFO Fredrik Sjöstrand num employees =564… …   Wikipedia

  • Memoria flash — Este artículo o sección necesita referencias que aparezcan en una publicación acreditada, como revistas especializadas, monografías, prensa diaria o páginas de Internet fidedignas. Puedes añadirlas así o avisar …   Wikipedia Español

  • JFFS2 — (Journaling Flash File System version 2, журналируемая файловая система версии 2) структурированная файловая система, используемая в устройствах флеш памяти.[1] Является наследником JFFS. JFFS2 был включен в ядро Linux начиная с выхода версии 2.4 …   Википедия

  • List of file systems — The following lists identify, characterize and link to more thorough information on computer file systems.Many older operating systems support only their one native file system, which does not bear any name apart from the name of the operating… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”