|Main Archive Page > Month Archives > clamav-users archives|
Dennis Peterson wrote:
> It doesn't matter - I use rsync in these situations because all moves are
> atomic, all the time.
> I have a mail server farm that includes production and dev systems, and NFS is
> used to access a large ZFS file system to redistribute this stuff.
> There is another reason to use rsync even within a file system - when you use
> rsync to dl files from the internet it is a big advantage to preserve the
> previous version as you then only exchange the changed records (Sane Security,
> for example). Particularly if you are moving text files that change only at the
> end of the file (unsorted). If I were to do a move I'd not have that advantage
> unless I made a copy and moved it and don't you think that's going a bit far?
Well, I guess that would save one minuscule step in the process. However, you claimed to have everything scripted and timed via cron, so why would there ever be any file contention issues that would "require" local rsyncing of files? Based on your outlined process, it would seem that atomicity should not be an issue that you would need to worry about.
Anyway, I simply made a comment based on the information you had originally provided.