Files are managed by operating system.The operating system uses set of methods and data structures to keep track of files on a disk or partition. Thus the part of operating system dealing with files is called the file system. It is the way files are created, organized and stored on the disk. Major functions of file system includes tracking allocated and free space on disk, maintaining directories and file names and tracking where each file is physically stored on the disk.
The project includes basic features of the file system like
-
Create file with specific permissions (Readonly, Read/Write, Execute)
-
Delete file
-
Write file
a. Append
b. Overwrite
-
Read file
-
Change File permission
-
Rename
-
Seeking free block in constant time
We will be devoting 20 MB of memory for implementing all these features. We will be using queue, treemap and priority queue to enhance the efficiency of all the features. We used java as the programming language to implement this file system.