Няма описание

isundil 474bf10fbd tmp backup преди 10 години
.gitignore 5841019bf5 init преди 10 години
LICENSE 4772af503d Initial commit преди 10 години
Makefile d66525fe68 init преди 10 години
README.md 474bf10fbd tmp backup преди 10 години
butterfly.h d66525fe68 init преди 10 години
butterflyfs.c d66525fe68 init преди 10 години

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