Why we require File system?

File system
Why do we require a file system? Without a file system, data placed in a storage medium would be a large continuous data with no way of telling apart one piece from another. With a file system, data in a storage medium get organised in groups known as file thus making it easy to retrieve them.

File system is a system of storing and retrieving data from a storage medium. It is a method by which an operating system keep track of files.

The different type of file systems:

1.            Disk/tape file system

A disk/tape file system utilize the ability of disk storage media to randomly address and access data in a short amount of time. E.g. FAT (FAT 12, FAT 16, FAT 32), exFAT, NTFS, etc.

2.            Network file system

A network file system act as a client for a remote file access protocol, providing access to files on a server. E.g. clients for FTP, WebDAV, etc.

3.            Special purpose file system

A special purpose file system presents non-file elements of an operating system as files so they can be acted on using file system APIs(application programming interfaces).

 

WATCH THE FOLLOWING VIDEO TO KNOW ABOUT FILE SYSTEM:




The different layers of file system: 

1. Logical file system

Logical file system provide interactions (like file open, file close, file read, etc) and passes the request to the layer below for processing. It also provides protection to the file system.

2. Physical file system

Physical file system provide the physical operation of storage device (like memory allocation, buffering etc).

3. Virtual file system

It is optional. It helps the physical file system when multiple processes of physical file system is called upon simultaneously.

Thus we see the file system make our user experience great. Without the file system it would have been a difficult task to manage the ever increasing volume of data.


More

Tech Blogs

kr

Previous Post Next Post