Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #489
| From | Rainer Weikusat <rweikusat@mssgmbh.com> |
|---|---|
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: file I/O: writ to disk in parallel? |
| Date | 2012-06-21 14:17 +0100 |
| Message-ID | <87vcikercr.fsf@sapphire.mobileactivedefense.com> (permalink) |
| References | <c7cb8f1d-73ec-45ed-9bbe-b06a6e5c140c@googlegroups.com> |
lmike <lmike3000@gmail.com> writes: > Say an application code calls fwrite/write etc. to write a very long > string "aaa ... 123 ... ccc" to a disk file, is it ever possible > that the app/box crashes in the middle of the write operation, then > it leaves a garbage like "aaa ... @#$@#$ ... ccc" or "@#$%@#$ > ... 123 ... ccc" in the disk file? Trivially, yes. Even the shortest actual write needs a finite amount of time and 'something bad' could happen during this time.
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Find similar
file I/O: writ to disk in parallel? lmike <lmike3000@gmail.com> - 2012-06-20 20:35 -0700 Re: file I/O: writ to disk in parallel? Lusotec <nomail@nomail.not> - 2012-06-21 13:33 +0100 Re: file I/O: writ to disk in parallel? Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-06-21 14:17 +0100
csiph-web