README.md 808 B

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