LWN.net Logo

Where the the correctness go?

Where the the correctness go?

Posted Mar 14, 2009 21:39 UTC (Sat) by foom (subscriber, #14868)
In reply to: Where the the correctness go? by bojan
Parent article: Ts'o: Delayed allocation and the zero-length file problem

> Essentially, you will get at least _something_.

There's no guarantee of that. A filesystem could simple erase itself upon unexpected
poweroff/crash. *Anything* better than that is an implementation detail.


(Log in to post comments)

Where the the correctness go?

Posted Mar 15, 2009 1:58 UTC (Sun) by bojan (subscriber, #14302) [Link]

I knew someone's going have a silly comment here. I was expecting, however, that it's going to be more technical, along the lines "see, you cannot rely on it after all". Just for the record, the first rename emacs does is optional (in order to get the backup file) and would not be done for configuration files, hence full atomicity and durability.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds