On Thu, Mar 12, 2009 at 4:06 PM, Dan McGee <[email protected]> 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?
_______________________________________________
pacman-dev mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/pacman-dev

Reply via email to