News for hackers. Stuff that matters.
Re:Cron checker by JdeBP on Saturday July 16, 2016 @07:04AM (#12105951)
There's more to atomic updates than "rewrite the whole file", note. The way that text editors usually rewrite whole files in place, preserving hard links, is most definitely not an atomic update.
Re:Cron checker by jstimpfle on Saturday July 16, 2016 @07:08AM (#12105957)
The typical way to do it is to write a new file. Not that it would matter in practice for configuration files.