---
title: "What is the disk files system management in operating systems?"  
description: "What is the disk files system management in operating systems?"  
author: "Revati S Misra"  
published: 2023-04-02  
updated: 2023-04-05  
canonical: https://www.mindstick.com/forum/157671/what-is-the-disk-files-system-management-in-operating-systems  
category: "Operating System"  
tags: ["windows", "operating system"]  
reading_time: 2 minutes  

---

# What is the disk files system management in operating systems?

[Explain in brief](https://www.mindstick.com/forum/157681/explain-in-brief-about-the-access-control-list-in-os) about [disk](https://answers.mindstick.com/qa/96923/what-are-hard-disk-partitions) [files](https://www.mindstick.com/articles/23302/the-importance-and-advantage-of-keeping-your-important-files-on-the-cloud) [system](https://www.mindstick.com/articles/23411/the-most-effective-method-to-find-the-perfect-small-business-phone-system-for-your-business) [management](https://www.mindstick.com/articles/23490/tips-for-better-cash-flow-management) in [operating systems](https://www.mindstick.com/articles/332551/operating-systems-trends-and-innovations-in-2023).

## Replies

### Reply by Krishnapriya Rajeev

One of the main management functions of the OS is *file and disk management.*

Computers tend to include secondary storage devices as they are a *low-cost, non-volatile solution* for the storage of programs and data, called files. The operating system is responsible for allocating space on secondary storage for these files.

Files (especially large ones) may be stored in *non-contiguous locations* on the physical disk drives. The OS needs to track the location of each and every fragment of the file on the disk. It must also be capable of locating each file and performing read and write operations on them as required

The disk management functions of the OS include:

1. **Disk Formatting:**

Disk formatting is the process of configuring data storage devices before using them for the first time. The formatting that is done by the OS is *low-level formatting*, which is a form of physical formatting that erases all the data on the disk in such a way that it is irrecoverable.

This is performed in two steps:

1. Dividing the disk into multiple cylinder groups, where each group is treated as a logical disk.
2. Storing the data structures for the first file system onto the disk. This contains both free space and allocated space.

2. **Booting From Disk:**

When the system is turned on, a small *bootstrap loader* program stored in the bootstrap ROM locates the OS kernel from the disk and loads it into the main memory so that the OS can start running.

Since this ROM is not programmable, in order to change the bootstrap code, one needs to change the ROM itself.

3. **Recovery of Bad Sectors:**

Due to the presence of moving parts, hard disks are prone to errors or damage. Sectors on a disk that are damaged so are known as bad sectors.

The disk controller maintains a list of all the bad sectors, using which it can logically replace each bad sector with a spare sector through a process called *sector sparing* or *sector transfer*.

This recovery process, however, is only triggered by a soft error. Irrecoverable hard errors may result in loss of data and require manual intervention.


---

Original Source: https://www.mindstick.com/forum/157671/what-is-the-disk-files-system-management-in-operating-systems

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
