[pacman-dev] delay writes a fsync
Xavier
shiningxc at gmail.com
Thu Mar 12 12:00:46 EDT 2009
On Thu, Mar 12, 2009 at 4:06 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>
> Adding an fsync() in the write_db_entry() call would probably make sense.
>
> However, note the funny part here- if we sync our DB entries, and then
> your machine gets powered off, you might end up with a DB that got
> committed but files in the package never actually got written to disk.
>
Do we know that for sure? It depends on how libarchive is written, right?
More information about the pacman-dev
mailing list