When you write to a file typically the operating system will keep the data in memory, so not actually written yet to disk – until it really needs to, which usually happens with an explicit fsync() call at the end of the install that guarantees that the data has actually been written to disk.
Operating systems do this because it’s more efficient to batch the writes and write them as chunks instead of actually going all the way to writing to disk on every write
Latest Answers