Opentopia Directory Encyclopedia Tools

Large file support

Encyclopedia : L : LA : LAR : Large file support


Large file support, often abberviated to LFS, is the term frequently applied to the support for files larger than 2 GB on 32-bit operating systems.

Traditionally, many operating systems and their underlying file system implementations used 32-bit integers to represent file sizes and positions. Consequently no file could be larger than 232 bytes (4 GB). The problem was exacerbated by treating the sizes as signed numbers, which further lowered the limit to 231 bytes (2 GB). Files larger than 2 GB, too large for 32-bit operating systems to handle, came to be known as large files.

While the 2 GB limit was quite acceptable at a time when disks were smaller, the general increase in storage capacity combined with more intense server and desktop file usage, especially for database and multimedia files, lead to intense pressure for OS vendors to remove the limitation.

Eventually vendors responded by switching to 64-bit numbers to represent file sizes, thus introducing large file support. (Merely ensuring the sizes were treated as unsigned numbers would not have been sufficient, except as a stop-gap measure, because it would only up the limit from 2 GB to 4 GB, which would not make a difference to most users.) It is worth noting that 64-bit operating systems, such as Tru64 UNIX, never had the 32-bit limit to begin with, and hence needed no additional "large file support".

This switch caused deployment issues and required design choices the consequences of which can still be seen:

Because of these transition issues many present-day applications still do not support large files.

External links

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: