What is a file system and what are its types
You create files and folders in all computers. Do you know how to create a file and folder and how to save?
Through which file and folder is saved? Today we are going to tell you that through which system we save files and folders. We call this the file system.
If you want to know about what a file system is, then definitely read this article once. You will get to know the file system very well.
What is a file system?
All computers store data. It is stored in a storage device. Data can be a data file or application file. The operating system organizes data into index wise. This is done by the filesystem program of the operating system, which we call the filesystem. The filesystem accesses data files and programs, providing accessibility to the user.
The file is created inside the computer under its name. The filesystem provides it with the help of which gives the files a new place on storage. If there is no filesystem inside the computer, then it will be very difficult to manage the files in the storage device so that the operating system will not be able to provide accessibility to the user.
It is a digital filesystem that presents a file system document, can store and retrieve documents through the file system.
There are different file systems for different operating systems. Like Microsoft Window Mac operating system Linux based operating system. All operating systems have different file systems. Such as a distributor filesystem, a disk-based filesystem, a special purpose filesystem, all of these are examples of different operating systems.
File system architecture
The filesystem architecture consists of 3 layers of a filesystem. This three layer performs the work related to different files. It is as follows.
- Logical filesystem
- Virtual filesystem
- Physical filesystem
Logical filesystem: Logical filesystem is related to user application software. Through which you can open the file, Can read the file, and can close the file. All three operations are done through the application program interface, in which accessing the file is a directory related task to store the file related security and memory location.
Virtual filesystem: Virtual means to imagine how much the file is. This virtual filesystem is used for buffering. Like when we watch a video on YouTube, our random access memory is the first buffer. After that the video plays. We do not know what size the file is. Virtual filesystem is used here.
Physical filesystem: The physical filesystem is related to the storage device, i.e. when we have to save this data forever, then the physical filesystem works there. In the physical health system, both reading and writing are processes.
How many types of file systems are there?
Whatever work is done to manage the data in the computer. All this work is done by the filesystem but we do not know which filesystem is working where. Now we will learn about the main filesystem based on the operating system. Usually we use Microsoft Window Linux and MAC operating system X and use Android and IOS operating system for mobile. In this, the file is managed by the filesystem itself.
File allocation table: The location table was designed in 1977. This file allocation table is used in the window operating filesystem. This window version supports the operating system below 2000.
Global filesystem: This filesystem is used in Linux, its update version is gfs2 ie Global filesystem is two. This system is available free.
HIERARCHICAL filesystem: The HIERARCHICAL filesystem is used in the Mac operating system.
What are the types of window file systems?
So far, we have only had about the type of filesystem. But now we will read how many types of window file systems are there and where it is used. There are mainly two file systems. First file allocation table and second new technology filesystem. Now we will understand about it better.
File allocation table: Developed by Microsoft in 1977. The job of file allocation table is to store data on hard disk; de fragmentation is done, dividing the disk space.
Features of file allocation table:
Used in MS DOS.
The name with which the file is saved should be the first character of the name, alphanumeric.
Any character in the file allocation table can be used.
The file allocation table does not provide this type of security.
fat32 file allocation table 32 This access speed is higher than the first version, it performs disk space utilization very well.
New technology filesystem supports window 210 and as many new versions of windows as of now.
It can have up to 255 characters
In this, the file name is not case sensitive.
It provides security. This filesystem can compress files over 50 percent.
What is File Structure?
In the file structure, we will read how the structure of a file has different types of structures; here we will understand about three structures.
- Simple record structure
- Complex structures
- No Definite Structure
Simple record structure: The simple structure has variable length and line fixes.
Complex structures: Document files and files are created in the complex structure.
No Definite Structure: A No Definite structure consists of a sequence of bytes and worlds.
Attributes to a file vary.
Name: This is a human readable information.
Identifier: file is always identifiable by a unique number.
Type: computer systems support different types of file systems.
Location: In the location filesystem, the job of the pointer is to locate the file.
Size: tells the size of the current file.
Protection: It has three controls: reading writing and executing.
Time Management, Date Management and User Authentication This is the production of data by all three attributes, it is used for security purpose.
File access method how to access files in it Here the operating systems supports multiple access method.
- Sequential access
- Direct access
- Indexed sequential access