ubuntuone-users team mailing list archive
-
ubuntuone-users team
-
Mailing list archive
-
Message #00139
Re: file renamed
Hi Marco,
On Thu, 6 Aug 2009 09:02:55 +0200
Marco Giorgetti <marco@xxxxxxxxxxxxxxxxxx> 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
References
-
file renamed
From: Michel Leunen, 2009-07-28
-
Re: file renamed
From: Robert Lacy, 2009-07-29
-
Re: file renamed
From: Michel Leunen, 2009-07-29
-
Re: file renamed
From: Steve Alexander, 2009-08-05
-
Re: file renamed
From: Michel Leunen, 2009-08-05
-
Re: file renamed
From: Lucio Torre, 2009-08-05
-
Re: file renamed
From: Michel Leunen, 2009-08-05
-
Re: file renamed
From: Marco Giorgetti, 2009-08-05
-
Re: file renamed
From: Michel Leunen, 2009-08-05
-
Re: file renamed
From: Marco Giorgetti, 2009-08-06