Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • That sounds like what I learned... but was it just voodoo or was there really any reason? Some of the other answers give good suggestions as to ways this habit may have formed among us sysadmins Commented Jan 11, 2018 at 22:12
  • @Josh the reason was given. "When the sync command exited, the kernel had scheduled the sync, but not all the buffers (including the all-important filesystem superblock) had necessarily made it to the disk." See also: "According to the standard specification (e.g., POSIX.1-2001), sync() schedules the writes, but may return before the actual writing is done." man7.org/linux/man-pages/man2/sync.2.html Commented Mar 3, 2019 at 17:50