On Fri, Apr 27, 2018 at 02:00:39PM +0200, Michael Kerrisk (man-pages) wrote: > Hello Omar, > > On 04/24/2018 08:19 AM, Omar Sandoval wrote: > > From: Omar Sandoval <osandov@xxxxxx> > > > > Hi, Al, > > > > This is a respin of my linkat() AT_REPLACE series, previously posted > > here: > > > > https://patchwork.kernel.org/patch/9636735/ > > https://patchwork.kernel.org/patch/9636733/ > > > > There are no changes since v2, only a rebase onto v4.17-rc2 and some > > minor additions to the commit messages. > > > > The goal is to allow for updating a file atomically in-place with an > > O_TMPFILE like so: > > > > - open temporary file with O_TMPFILE > > - write temporary file contents > > - fsync temporary file > > - atomically replace permanent location with the temporary file > > - fsync parent directory > > Could we have an example program with the next revision please, > perhaps as part of the commit message? > > And, please also some text suitable for inclusion in the linkat(2) > manual page. > > Thanks, > > Michael Yes, I'll do that.