Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cozis/CozyFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CozyFS

CozyFS is a tiny in-memory file system.

(This is an incomplete proof of concept)

Features

  • Self-contained: It's only 1K lines of C with no dependencies (not even libc)
  • Serialization-friendly: The file system is position independant. You can memmove it around and it will keep working. This allows you to share it with processes at different virtual addresses or dump it to a file
  • Crash recovery: If a process dies while operating on CozyFS, its state won't be corrupted.
  • Transaction support (with rollback and everything)
  • By using mmap it becomes an ACID file system

Limitations

  • Concurrent access is managed by a single lock
  • Crash recovery (which can be turned off) doubles memory usage
  • Size limit of 4GB (8GB if you use backup mode)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published