Jump to content

Extent (file systems)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Syp (talk | contribs) at 19:00, 24 January 2008 (iw). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

An extent is a contiguous area of storage in a computer file system, reserved for a file. When starting to write to a file, a whole extent is allocated. When writing to the file again, possibly after doing other write operations, the data continues where the previous write left off. This reduces or eliminates file fragmentation.

Extents are supported in:

The CP/M file system uses extents as well, but those don't correspond to the definition given above. CP/M's extents are contiguous only in the sense that they appear as a single block in the combined directory/allocation table; they are not necessarily contiguous on the data area of the disk.

Note that a file system can be extent-based (i.e., addressing via extents rather than in single blocks) without requiring that each file be limited to a single, contiguous extent.

See also