what is the purpose of file system?

A file system is the method an operating system uses to name files and assign them locations for efficient storage and retrieval.

As a whole, file system is a structured data representation and a set of metadata that describe the stored data.

File systems use metadata to store and retrieve files. Some examples of metadata tags include:

  • Date created
  • Date modified
  • File size

 

A file system can be thought of as an index or database containing the physical location of every piece of data on the hard drive or other storage device

 

. On Linux and Unix, the directories start with the root directory (designated by a forward slash), which contains a series of subdirectories, each of which, in turn, contains further subdirectories, etc.