InĀ
computing, aĀ
file systemĀ orĀ
filesystemĀ (often abbreviated toĀ
fs) controls how data isĀ
storedĀ and retrieved. Without a file system, data placed in a storage medium would be one large body of data with no way to tell where one piece of data stops and the next begins. By separating the data into pieces and giving each piece a name, the data is easily isolated and identified. Taking its name from the way paper-based data management system is named, each group of data is called a "
file." The structure and logic rules used to manage the groups of data and their names is called a "file system."
There are many different kinds of file systems. Each one has different structure and logic, properties of speed, flexibility, security, size and more. Some file systems have been designed to be used for specific applications. For example, theĀ
ISO 9660Ā file system is designed specifically forĀ
optical discs.
File systems can be used on numerous different types ofĀ
storage devicesĀ that use different kinds of media. As of 2019,Ā
hard disk drivesĀ have been key storage devices and are projected to remain so for the foreseeable future.
[1]Ā Other kinds of media that are used includeĀ
SSDs,Ā
magnetic tapes, and optical discs. In some cases, such as withĀ
tmpfs, the computer's main memory (
random-access memory, RAM) is used to create a temporary file system for short-term use.
Some file systems are used on localĀ
data storage devices;
[2]Ā others provide file access via aĀ
network protocolĀ (for example,Ā
NFS,
[3]Ā
SMB, orĀ
9PĀ clients). Some file systems are "virtual", meaning that the supplied "files" (calledĀ
virtual files) are computed on request (such asĀ
procfsĀ andĀ
sysfs) or are merely a mapping into a different file system used as a backing store. The file system manages access to both the content of files and theĀ
metadataĀ about those files. It is responsible for arranging storage space; reliability, efficiency, and tuning with regard to the physical storage medium are important design considerations.