Jump to content

Berkeley Fast File System

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Guy Harris (talk | contribs) at 02:40, 2 January 2006 (FFS was influenced by the FS in V7, not S5 (S5's FS is a V7 derivative). Fix the FFS-vs-LFS description to reflect reality.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, the Berkeley Fast File System (or FFS) is a file system used mostly by BSD-derivative Unix variants. It is a distant descendant of the original filesystem used by Version 7 Unix. UFS 1 and 2 are, in turn, derivatives of the original FFS.

In modern BSDs, the implementation of UFS1 and UFS2 is split into two layers - an upper layer that defines the directory and inode structure, and lower layers that provide containers for file data. This was done to support both the traditional FFS and the LFS log-structured file system with common code for common functions. The upper layer is called "UFS", and the lower layers are called "FFS" and "LFS". However, elsewhere it is stated that FFS sits on top of UFS (1 or 2) and provides directory structure information, and a variety of disk access optimizations, while UFS (and UFS2) define on-disk data layout.

See also