Skip to content

gkalidas/CVFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

CVFS — Customised Virtual File System

A custom virtual file system implementation that simulates core OS-level file management in user space.

Features

  • Create, read, write, and delete virtual files
  • Directory tree navigation (mkdir, cd, ls, rmdir)
  • Inode-based allocation with a FAT-style block map
  • Persistence: serialises the entire VFS state to a single binary file

How it works

The VFS is backed by a flat binary store divided into fixed-size blocks. An inode table tracks file metadata (name, size, permissions, block pointers). All operations go through a thin system-call layer that mirrors POSIX semantics without touching the real filesystem.

Tech

  • Language: C
  • Build: make
  • No external dependencies

Run

make
./cvfs          # interactive shell
cvfs> mkdir docs
cvfs> touch docs/notes.txt
cvfs> write docs/notes.txt "hello world"
cvfs> ls docs

About

Customised Virtual File System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors