LEAN

From OSDev.wiki
Revision as of 15:22, 4 May 2010 by Creature (talk | contribs) (Created article about the LEAN file system, stubbed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This page is a stub.
You can help the wiki by accurately adding more contents to it.

LEAN is a (recursive) backronym that stands for "Lean yet Effective Allocation and Naming" and is an alternative to the FAT filesystem by the [FreeDOS-32] project.

Information

LEAN uses an extent-based allocation algorithm and is designed to use the little-endian byte ordering. There have been a total of 6 versions (at the time of writing) and the changelog for each release can be found in the specification (see link below). LEAN provides the following features (mostly according to the creators of the specification):

  • Supports Unicode long file names (in contrary to FAT long names, patented by Microsoft).
  • Suppports extended attributes (name-value metadata, embedded in files or forks).
  • Requires a small memory footprint and isn't too intensive on the CPU.
  • Fairly easy to implement and to understand.
  • Suitable for both large and small volumes.
  • Hard and symbolic links.
  • POSIX-compatible.

A more detailed overview of the filesystem's actual capabilities:

  • 512-byte allocation unit (conventional sectors)
  • A maximum volume size of 2^63 - 1 sectors
  • A maximum file size of 2^64 - 1 bytes
  • File names of up to 4068 bytes (case sensitive and in UTF-8 format)

Tools

The creators of LEAN have a reference implementation and binaries of a LEAN file manager (Windows/Debian/Linux) available on their website. See this page for more information.

See Also

External Links