Nav apraksta

isundil 474bf10fbd tmp backup 9 gadi atpakaļ
.gitignore 5841019bf5 init 9 gadi atpakaļ
LICENSE 4772af503d Initial commit 9 gadi atpakaļ
Makefile d66525fe68 init 9 gadi atpakaļ
README.md 474bf10fbd tmp backup 9 gadi atpakaļ
butterfly.h d66525fe68 init 9 gadi atpakaļ
butterflyfs.c d66525fe68 init 9 gadi atpakaļ

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