On Feb 22, 2006, at 12:22 PM, Paul Anderson wrote:

I'll chalk this up to the power failure, although I would expect a
well-behaved application to journal or periodically save such files so that
such an event would not cause file corruption.

Camino does save the file periodically, and it uses "safe-saving", in that it writes the new file to a side location then moves the file onto the old location. This is about as much as a well-behaved application can reasonably be expected to do; for any application to really guarantee that everything is always on disk exactly as it expects (given that HFS+ does not guarantee that no data will be lost in the case of a power failure) would require frequent explicit flushing of the disk cache. If every application did that the performance of your system would be monumentally bad, in exchange for a tiny reliability gain.

-Stuart
_______________________________________________
Camino mailing list
[email protected]
http://mozdev.org/mailman/listinfo/camino

Reply via email to