Yesterday I posted about not overwriting a file until you knew you had completely and correctly stored its data. Part of that was about data security and another part was completeness for other consumers. I used a temporary file and rename
to move the new file into place. That’s not the entire story though.
Continue reading “Copy instead of renaming to preserve hard links”