Introduction to File Systems Project:
The aim of this file system is to describe what is a file and it allocation and access methods and structure of a file. Basically file is a collection of similar data, collection of records and similar documents. The files have different data structures that all accessed by a common method which is in built in file system. The order of arrangement of file is based on how the program by which it is created. The files can be accessed by the user by specifying the name, extension and period. If taken image file like charu.jpg it is identified by name first called charu and the name first and extension jpg it indicates an image file and the operating system finds an appropriate program to open it. It is generally opened by default image viewer.
Access Methods:
There are two access methods
- Sequential
- Random
Sequential:
In this method writing are reading the file is done one after another in a sequential manner. If the transaction is processing against master file then the two files must have their record in same sequence.
Random:
In this method reading or writing a file is unordered that is random manner. This method provides fast accessing of a file. For the location of desired file the location should be given to operating system Based on address generation index the file was accessed easily.
Directory structure:
The secondary memory hard disk is partitioned into two or more disks. Each partition contains information about the files that present in it. This information is added to VTOC volume table information.
Logical structure of directory:
- Single-Level Directory
- Two-Level Directory
- Tree-Structure Directory
Download File Systems Project Report.