Am 12.01.2015 um 17:04 schrieb Viktor Dukhovni:
On Mon, Jan 12, 2015 at 04:57:37PM +0100, [email protected] wrote:
create TWO temp files and decide at the end if they both are should be moved
or deleted? i don't get why you care in that context about atmoic move of
two files - two non-atomic moves are in any case better than what the OP
reported
They are not better when one postmaps the correct file. We should
optimize for the correct use-case.
The real solution is to not run postmap(1) or postalias(1) "by hand"
that would imply people don't make mistakes
expierienced admins are doing anything by scripts and fully automated
but that don't make run existing commands by hand exotic, in case of
small servers only touching the config once or twice a year you likely
make your 10 postmaps per decade by hand