I suppose you could do the rsync based on each file, then the directory, however once the file is moved, the source directory has been updated, so this would not work. The issue then becomes, how to check if the file is busy. We would either need to cache the directory mtime or change the mover to do rsync based on the directory name. This is why the directory mtimes on the destination get updated. The mover is working on a file by file basis rather than a directory basis. The issue is that when an object is moved from a containing-directory on the cache drive, to an array disk that where the containing-directory already exists, the mtime of the containing-directory on the array disk will get updated, and I'm not sure how to prevent that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |