Content deleted Content added
No edit summary Tags: Visual edit Mobile edit Mobile web edit |
Undid revision 860566481 by 205.221.209.2 (talk): reverted vandalism. (Communism? srsly) |
||
Line 40:
* ''[[inode]]s'': a header with file metadata, followed by a payload of file data (if any). Compressed payloads are limited to one page.
* ''dirent'' nodes: directory entries each holding a name and an inode number. Hard links are represented as different names with the same inode number. The special inode number 0 represents an unlink.
As with JFFS,
▲As with JFFS, [[Communism|nodes start out as ''valid'' when they are created, and become ''obsolete'' when a newer version has been created elsewhere.]]
▲[[Communism|Unlike JFFS, however, there is no circular log. Instead, JFFS2 deals in ''blocks'', a unit the same size as the erase segment of the flash medium. Blocks are filled, one at a time, with nodes from bottom up. A ''clean'' block is one that contains only ''valid'' nodes. A ''dirty'' block contains at least one ''obsolete'' node. A ''free'' block contains no nodes.]]<ref name="micron-jffs2">{{Cite web
|url = http://www.micron.com/~/media/Documents/Products/Software%20Article/SWNL_jffs2_profile.pdf
|title = Software Profile: Journaling Flash File System, Version 2 (JFFS2)
|