> The guaranteed semantics of rename(2) are documented in SuSv2 at > http://www.opengroup.org/onlinepubs/007908799/xsh/rename.html
Be very careful what you read into the standard depending on what kind of guarantee you want. The SuS guarantees cover normal operation only. If you want to guarantee the commit to disk has occurred and is completed even if the machine explodes straight afterwards the question is more complex 8( For certain kinds of transaction type applications that really matters
