News for hackers. Stuff that matters.
Re:Linux shell tips and tricks by vram22 on Sunday November 24, 2013 @02:14PM (#6790648)
I had read some time ago that sync doesn't actually flush the buffer cache, it just schedules it to be written (and that may happen a little later). Could be wrong though, or the information could be outdated in recent Linux versions (I read that about some UNIX version, IIRC).
Re:Linux shell tips and tricks by vram22 on Sunday November 24, 2013 @02:16PM (#6790660)
Edit: by "a little later", I meant: not necessarily synchronously. So the sync command may return before the buffer cache is actually flushed.