2 ms·
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 m
by JdeBP 10y ago
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.
- jstimpfle 10y agoThe typical way to do it is to write a new file. Not that it would matter in practice for configuration files.