megalae#
A FUSE tool and control to combine multiple filesystems into one
megalae#
CLI Interface for mega-meg
| command | description |
|---|---|
mount |
begin mount of layers |
add |
add directory to layer library |
remove |
remove directory from layer library |
list[-layers] |
list all layers |
buffered |
list writes to tmpfs |
accept |
tool to accept tmpfs writes into the filesystem |
mount#
| flag | default | description |
|---|---|---|
lowest |
first |
whether the first or last positional argument is the lowest level |
filter |
patterns for which layers to include. repeatable. | |
write |
owned,buffer |
pipeline of strategies to try for writes |
write-flags |
flags for writes, value is true if not explicitly valued |
owned write#
writes back if file already exists
| flag | description | without |
|---|---|---|
owned-deep |
writes all layers having the file | stops after first match found |
owned-passthrough |
pass the write through to the next handler even if we handle | stop after write |
buffer write#
writes backed in a tmpfs in /run/user/$UID/.megalae
| flag | default | description |
|---|---|---|
buf-runtime-dir |
/run/user/${UID}/.megalae |
|
buf-namer |
fullpath |
strategy for turning filenames into files in tmpfs |
fullpath namer#
full filepath reproduced
hash-flat namer#
<hash of the directory path>-<filename>
write agentfs#
uses agentfs to store all changes into a turso database
| flag | description | without |
|---|---|---|
no-cdc |
turn off cdc | turso cdc tables are on |
buffered#
List tool for buffered writes
Alias: list-buffered buf
accept#
User tool to select and accept and promote files from one backing layer to another