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
Seems to me firefox should use an append-only format for some of its files - that'd mean that
in case of a crash, possibly the last so many transactions would get lost, but that the main
bulk of the data would still be intact and consistent.
Fsyncers and curveballs (the Firefox 3 fsync() problem)
Posted May 27, 2008 16:23 UTC (Tue) by drag (subscriber, #31333)
You mean something like:
echo "<something>blahlbahlbah</something>" >> file.text
... what a concept ...
Posted Jun 20, 2008 20:38 UTC (Fri) by jlokier (guest, #52227)
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.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds