[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mirrorlist cgi



On 7/18/06, seth vidal <skvidal linux duke edu> wrote:
On Tue, 2006-07-18 at 15:04 -0700, Ian Burrell wrote:
>
> There is also the --delay-updates option to rsync.  It causes rsync to
> put all the updates in a temporary directory and moves them into place
> at the end.  The move is fast which makes the update more atomic.
>

it's only fast if it doesn't cross a partition.


The --delay-updates only uses a rename.  By default, it puts the files
in temporary directories (named .~tmp~) under each real directory.  It
is possible to specifiy the partial directory with the --partial-dir
but using an absolute directory can fail if it is on a different
partition or the tree crosses a mount point because it can't do a
rename.

- Ian


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]