Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multiverse OS Logo

Multiverse OS: binfs Runtime Executable Virtual Filesystem

URL multiverse-os.org

The second project to be developed from the singularity experimental library enabling runtime storage of files in the current runtime executable through live self udpates. The filesystem uses two magic sequences: BHS for the header section and BFS for the file section. The headers are made up of a 16 byte stringname, 8 byte offset, 8 byte size, and 32 byte checksum for a total of 64 bits. Allowing the number of files to be easily calculated from the size of the header section between the delimeters BHS and BFS.

Currently the Virtual Filesystem is very limited, its essentially a map and the files are accessed via filenames. But future updates will focus on extending the usability of the filesystem, and offering the ability to cache it to restricted tempFS drive mounted after launch, keeping everything in memory. This will be paired with the memexec library to embed binaries on-the-fly, update them without requiring binary destribution, or function as a update system for other Multiverse OS applications.

About

A virtual filesystem that appends each newly added file to the end of the running executable during runtime, using two sections: a header section with filename, offset, size, and checksum to locate files in the second section which contains files.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages