Skip to content

Vaishnavi-2505/Customised-Virtual-File-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‚οΈ Marvellous CVFS (Customised Virtual File System)

πŸ“˜ Description

A simple in-memory Virtual File System built in C/C++.
It simulates UNIX-like file handling β€” supporting create, read, write, delete, and list operations.


πŸ‘©β€πŸ’» Author

Vaishnavi D. Shingare
πŸ“… 26 Jan 2025


🧑 Marvellous CVFS – Learn File Systems Easily!

βš™οΈ Features

  • Create and delete files
  • Read & write data
  • List and view file info
  • In-memory simulation (no disk)
  • Command-based shell interface

πŸ’» Commands

Command Description
creat <name> <perm> Create file (1=R, 2=W, 3=R+W)
write <fd> Write data to file
read <fd> <size> Read data from file
ls List all files
stat <name> Show file info
unlink <name> Delete file
help / man <cmd> Show help or manual
clear Clear screen
exit Exit CVFS

πŸ“¦ Limits

Max files: 5

Max open files: 20

Max file size: 100 bytes

πŸš€ Run

g++ CVFS.cpp -o CVFS
./CVFS


---

βœ… This version includes all **essential info**: what it is, what it does, commands, how to run, limits, and author β€” perfect for a report or GitHub README.

About

File handling Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published