Home »
Operating System
File Management in Operating System
In this tutorial, we will learn about the file management of the operating system, how files are managed, what are the uses of files management, and what are the different operations performed.
By Amit Shukla Last updated : May 06, 2023
File Management in Operating System
File management is one of the basic and important features of operating system. Operating system is used to manage files of computer system. All the files with different extensions are managed by operating system.
To learn about more features of operating system: refer Operating System and Its Types
A file is collection of specific information stored in the memory of computer system. File management is defined as the process of manipulating files in computer system, it management includes the process of creating, modifying and deleting the files.
Tasks Performed by File Management
The following are some of the tasks performed by file management of operating system of any computer system:
- It helps to create new files in computer system and placing them at the specific locations.
- It helps in easily and quickly locating these files in computer system.
- It makes the process of sharing of the files among different users very easy and user friendly.
- It helps to stores the files in separate folders known as directories. These directories help users to search file quickly or to manage the files according to their types or uses.
- It helps the user to modify the data of files or to modify the name of the file in the directories.
The above figure shows the general hierarchy of the storage in an operating system. In this figure the root directory is present at the highest level in the hierarchical structure. It includes all the subdirectories in which the files are stored. Subdirectory is a directory present inside another directory in the file storage system. The directory base storage system ensures better organization of files in the memory of the computer system.
The file management of function in operating system (OS) is based on the following concepts:
- File Attributes
It specifies the characteristics of the files such as type, date of last modification, size, location on disk etc. file attributes help the user to understand the value and location of files. File attributes is one most important feature. It is uses to describe all the information regarding particular file.
- File Operations
It specifies the task that can be performed on a file such as opening and closing of file.
- File Access permission
It specifies the access permissions related to a file such as read and write.
- File Systems
It specifies the logical method of file storage in a computer system. Some of the commonly used files systems include FAT and NTFS.