This repository contains the lab assignments and project for CSE321: Operating Systems at BRAC University during the Summer 2025 semester. The project simulates a simple file system using C, demonstrating low-level OS operations.
Contains the main project files:
mkfs_builder.c: Initializes the file system, creating the superblock, inodes, and data blocks.mkfs_adder.c: Adds files into the system by allocating inodes and data blocks, updating metadata and directory structure..img: Disk image files generated by the builder..txt: Sample input files used in the simulation.
Contains solutions for various lab assignments, including:
- Shell command exercises.
- C programming tasks related to file operations, process management, and synchronization.
Contains theoretical assignments covering topics such as:
- Process concepts and scheduling.
- Inter-process communication (IPC).
- Memory management and storage structures.
- Compile the programs:
gcc mkfs_builder.c -o mkfs_builder gcc mkfs_adder.c -o mkfs_adder