How to safely maintain a status file
drsalists at gmail.com
Mon Jul 9 23:34:50 CEST 2012
On Mon, Jul 9, 2012 at 8:24 PM, John Nagle <nagle at animats.com> wrote:
> On 7/8/2012 2:52 PM, Christian Heimes wrote:
>> You are contradicting yourself. Either the OS is providing a fully
>> atomic rename or it doesn't. All POSIX compatible OS provide an atomic
>> rename functionality that renames the file atomically or fails without
>> loosing the target side. On POSIX OS it doesn't matter if the target
> Rename on some file system types (particularly NFS) may not be atomic.
Actually, ISTR that rename() is one of the few things on NFS that is
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list