In the mailing list archives I found the patch series "fs: add AT_REPLACE flag for linkat()" to allow atomically replacing a file with a hardlink to an existing file, which can be combined with O_TMPFILE to atomically replace files with new content without having to use named temporary files (and risk leaving them behind on power loss). I would really love to have this functionality, but it seems activity just stopped around May 2018, with the last I could find being: On Fri, 4 May 2018 11:30:13 -0700, Omar Sandoval wrote: > Ping, Al, can you take a look? What happened to it? Is there still any hope for this patch series? Matthijs van Duin