Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


Edit: by "a little later", I meant: not necessarily synchronously. So the sync command may return before the buffer cache is actually flushed.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: