Skip to content

Is it possible to preserve mergerfs.dup count when changes occur? #1432

Closed Answered by trapexit
anthonyryan1 asked this question in Q&A
Discussion options

You must be logged in to vote

Are you saying you want mergerfs to write to all versions of the file?

I've generally considered that out of scope because it seriously increases the complexity of error handling and would be incompatible or complicated with certain features. What do you do if the files are different when opened? What do you do if a file write on one of them fails but not the others? What do you do with you use moveonenospc and run out of space on one of the branches during a write but not others? It's all fine when things work but when there is an error it becomes complicated.

I'm less opposed to it than I was but I have a bunch of other features I would rather focus on.

Note that the dup app has the abi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by anthonyryan1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants