The rename itself is atomic, but if you don't ensu...
# general
c
The rename itself is atomic, but if you don't ensure that the file has been fully flushed to persistent storage first, you may end up with a partially written file.