Unix-like Filesystem

The Unix-like Filesystem project simulates core filesystem operations such as file creation, reading, writing, deletion, directory management, and more. It’s implemented in C, mimicking basic Unix-like file management features. The project aims to provide hands-on experience with file systems and their management while simulating a simplified environment in memory.

Project Context

This project was part of my Data Structures course at PES University, where we focused on simulating core file management operations. The aim was to build a simplified, in-memory Unix-like filesystem to better understand how data structures like trees, linked lists, and hash tables are used in real operating systems. By replicating basic filesystem functions, the project gave me hands-on experience with file handling and directory management in C.

Features

  • File and Directory Management
    Create, read, write, delete, rename, and organize files and directories. You can also sort and navigate through directories.

  • Directory Search and Navigation
    Search for specific files or subdirectories and easily move between directories to modify or view content.

  • File Operations
    Modify files by adding or changing content, and copy or move entire directories and their contents.

  • Filesystem Overview and Management
    View the complete filesystem structure and format it, erasing all files and directories for a fresh start.

Tech Stack

  • Languages: C
  • Filesystem Management: In-memory representation of files and directories
  • Operations: File operations are abstracted through system calls simulation

Repository

Explore the full project here: Unix-like Filesystem in C GitHub Repository


Feel free to fork, contribute, or report issues! Simulate Unix-like Filesystem in C to get hands-on experience in file system operations.