Writable overlay for the mount #5
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
hysync/hymount#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allow writes to the mount, kept separate from the read-only Hydrus data.
Idea: the read-only Hydrus index is the lower layer. A writable directory per mount is the upper layer. Reads check the upper layer first, then fall through to Hydrus. New files and writes go to the upper layer. Deleting a Hydrus file needs a whiteout marker so it does not reappear. Editing a Hydrus file needs a copy-up of the original bytes.
Notes:
Phases:
If this lands, tools like Syncthing can create their own marker files, and the virtual markers from #1 become less necessary.
this is going to be a headache