Project:
Mini Kernel FileSystem Module
Program Description:
The goal of this project was to extend a supplied Java Mini Kernel Simulator to include a File System Module. The File System Module implemented in the Mini Kernel is a simplified version of the file system implemented on a Unix based machine. Where the File system is made up of a Super Block, an iNode Area, a Directory Area and a Data Area. The simulated disk is a binary file in which read and write operations are achieved by writing arrays of bits to the file.
The disk commands are called via the User library, which calls the Kernel Library commands. The Kernel library then calls the file system module methods to execute the appropriate action.
The file system is tested by passing an input command file to the Mini Kernel as a parameter at startup and the output of the commands in the file are displayed in the terminal.
Implemented Commands:
Format
Create
Read
Write
Link
Unlink
List
Delete
Features:
Written in Java 1.6 Standard Edition
Uses a Java Mini Kernel
Code Snippet:
Sample Output Files: