File Systems in Operating System (original) (raw)

Last Updated : 25 Apr, 2026

File systems are a crucial part of any operating system, providing a structured way to store, organize and manage data on storage devices such as hard drives, SSDs and USB drives.

file_sys

File System

Note: It acts as a bridge between the operating system and the physical storage hardware, allowing users and applications to perform CRUD Operations on files in an organized and efficient manner.

Some common types of file systems include:

File-Systems-12

Popular File Systems

The name of the file is divided into two parts as shown below:

  1. Name
  2. Extension, separated by a period.

Issues Handled By File System

File Directories

The collection of files is a file directory and contains information about the files, including attributes, location, etc. Much of this information, is managed by the operating system.

**Note: The directory is itself a file, accessible by various file management routines.

File Types and Their Content

file2

File Types & their Content

**Note: It may be kept in the disk's non-contiguous blocks. We must keep track of all the blocks where the files are partially located.

Advantages of Maintaining Directories

Structures of Directory

Read more about Structures of Directory

File Allocation Methods

There are several types of file allocation methods. These are mentioned below:

Read more about File Allocation Methods

Disk Free Space Management

To perform any of the file allocation techniques, it is necessary to know what blocks on the disk are available. Thus to manage unallocated disk space, two common methods are used:

Read more about Disk Free Space Management