Sem descrição

isundil 474bf10fbd tmp backup há 10 anos atrás
.gitignore 5841019bf5 init há 10 anos atrás
LICENSE 4772af503d Initial commit há 10 anos atrás
Makefile d66525fe68 init há 10 anos atrás
README.md 474bf10fbd tmp backup há 10 anos atrás
butterfly.h d66525fe68 init há 10 anos atrás
butterflyfs.c d66525fe68 init há 10 anos atrás

README.md

butterflyfs

This project allow creating butterflyfs partition type and mount them.
The butterflyfs partition type is a volatile partition type, but stored in a physical device or file.

To ensure the ephemeral state of the filesystem, the inode and data will be encrypted using a simple rot-X with a key generated by random with a random size at mount-time and dropped at unmount-time.

To avoid reversing the key, the firsts N (randomly chosen) bytes before the first inode will be filled with random bytes.

Filesystem Definition

The partition will look like this:

  • Fixed-length filesystem meta definition
  • N random bytes (length to be determined at mount-time)
  • Fixed-length first inode Definition
  • Data and inodes

File system's meta Definition

Inode definition

Data definition