LWN.net Logo

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Fsyncers and curveballs (the Firefox 3 fsync() problem)

Posted Jun 20, 2008 20:38 UTC (Fri) by jlokier (guest, #52227)
In reply to: Fsyncers and curveballs (the Firefox 3 fsync() problem) by drag
Parent article: Fsyncers and curveballs (the Firefox 3 fsync() problem)

If you think 'echo "text" >> file' cannot corrupt data before the place you're writing to,
when power is lost at the wrong moment (e.g. laptop runs out of battery), think again.  There
are filesystems and filesystem options that will prevent that, but ext3 with default options
isn't one of them.  Not just theoretically: I have actually seen such corruption in log files.


(Log in to post comments)

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