Hi Marco,

On Thu, 6 Aug 2009 09:02:55 +0200
Marco Giorgetti <[email protected]> wrote:

> I dont know tech details on how sync demon works (both ubuntu-one and
> dropbox) to calculate file timestamp, but my sensation is that demon
> is action-aware. I mean:

Yes, the syncdaemon uses inotify to react on FS changes.

> I create a file (the zip archive) in which byte are concatenated until
> processing is finished.
> The question is:
> Sync demon does not await until file is complete? And: Is it possible
> that transfer protocol syncs pieace of file that are subject to more
> changes after file il complete?
> 
Syncdaemon will receive a CLOSE_WRITE event from inotify, when the file
is closed, and after that the upload will start (this is a
simplification, the internals are a bit more complex)

Regards,

-- 
Guillermo Gonzalez
<http://launchpad.net/~verterok>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Mailing list: https://launchpad.net/~ubuntuone-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntuone-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to