Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Where the the correctness go?
Posted Mar 14, 2009 5:33 UTC (Sat) by flewellyn (subscriber, #5047)
Posted Mar 15, 2009 1:43 UTC (Sun) by droundy (subscriber, #4559)
Posted Mar 14, 2009 6:21 UTC (Sat) by bojan (subscriber, #14302)
As for rename, your file gets renamed _atomically_ just fine. However, if you don't _commit_ your writes (make the changes durable, call fsync), the renamed file will have zero size.
This is not a file system problem, but an application problem.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds