Posts

Showing posts with the label Disk management

Disk Management in an Operating System

Image
Disk Management in an Operating System Introduction: The disk is the secondary storage media, which is used to store data permanently. The data stored in the disk is provided to the user program via I/O requests. Disk management is a very important function of the operating system. The disk management system performs many functions such as storing data permanently on disk and fetching data from disk into RAM. Disk Buffering:  Disk buffering is the mechanism of providing a temporary storage area, where data is stored before it is finally shifted to the disk. When a process issues an I/O requests for I/O operating, data is stored in a buffer (known as disk buffer) before being transferred to the process. For example, when data is read from disk, it is first shifted to the buffer, and then transferred to the process. Similarly, when a process issues Write commands to store data on the disk, data is first transferred to disk buffer and then is written on the disk. Disk Scheduling: We k...