Large file support

Large file support, often abbreviated as LFS, is the term frequently applied to the ability to create files larger than either 2 GB or 4 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 − 1 bytes (4 GB − 1). In many implementations, the problem was exacerbated by treating the sizes as signed numbers, which further lowered the limit to 231 − 1 bytes (2 GB − 1). Files that were too large for 32-bit operating systems to handle came to be known as large files.

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

In 1996, multiple vendors responded by forming an industry initiative known as the Large File Summit (thus "LFS" can be considered to stand for either "large file support" or "Large File Summit"), tasked to define a standardized way to switch to 64-bit numbers to represent file sizes.

Merely ensuring the sizes were treated as unsigned numbers would only increase the limit from 2 GB−1 to 4 GB−1, which would have been only a stopgap measure given the explosive growth in data storage. Nevertheless, Windows 95B / DOS 7.10 introduced an API extension (most notably an extended file open call) to access files up to the full 4 GB−1 bytes possible on FAT16B and FAT32 volumes. Applications not aware of this extension continue to use the traditional file open call and were thereby still limited to a maximum of 2 GB−1 bytes for backward compatibility reasons.

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

See also

External links

  1. Kuhnt, Udo; Georgiev, Luchezar; Davis, Jeremy (2007). "FAT+ draft revision 2" (FATPLUS.TXT) (2 ed.). Retrieved 2015-08-05.
This article is issued from Wikipedia - version of the Saturday, April 16, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.