* Mike Hommey:

> So, IMHO, what you really want to do is unpack, sync everything, and
> then rename. Unfortunately, there exists nothing that permits to sync
> only a set of files, and as was said in this thread, sync() doesn't
> necessarily guarantees all writes happened once it returns, though that
> might be true on Linux.

You could fake it using threads (in a separate process).  I thought
that sync_file_range offered non-blocking operation, but that does not
seem to be the case.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to