On Thu, Jun 19, 2025 at 06:09:49PM +0100, PƔdraig Brady wrote:
> > we should aim for ACID file replacement functionality.
> it seems to me that's the whole point of sponge
> so out of curiosity: is there another possible usage ?
You're right. The atomicity issue in method 6
was due to the use of truncate and write (cp and rm in my example).
I have to admit I didn't look at your examples carrefully but
what I was saying is
* if it is not for acidity, what's the point of sponge?
* if the answer is "none" (as I believe) so is there a reason
to be explicit about it?