Browser simulator · based on the original C implementation
All projects
Operating SystemsMay 2026

Mini File System in C

A command-line, in-memory file system written in C, accompanied by a browser simulator that explains its File Control Block lifecycle.

01 · Problem

What needed to be solved

Implement predictable file operations within fixed memory bounds, then make the invisible RAM behavior easy to explain during a presentation.

02 · Solution

How the project addressed it

Used a fixed 100-slot File Control Block array with explicit limits, linear lookup, slot reclamation, error handling, and commands for the full file lifecycle.

01CLI command
02Parser
03filesystem.c
04FCB array
05Result
03 · My Role

My contribution

Designed the FCB structure and constants; implemented deleteFile, listFiles, and searchFile; and tested boundary and failure cases.

  • Implemented create, write, read, search, list, and delete operations in memory.
  • Applied explicit filename and content limits to protect fixed-size buffers.
  • Built the browser simulator only as a clearer presentation of the original C behavior.
04 · Outcome

What the work demonstrated

All planned tests passed, including file-size tracking, duplicate handling, missing-file errors, and slot reuse after deletion.
100FCB slots
1 KBcontent limit
100%planned tests passed