TheDragon Posted December 20, 2012 Share Posted December 20, 2012 I've done a few searches on the forum and wiki but haven't really found an answer. EDIT: Link to wiki page I'm referring to: http://lime-technology.com/wiki/index.php/Cache_disk#The_Mover This seems to suggest mv is used, but doesn't mention how duplicate files are handled. I've also seen references to rsync in some forum posts concerning the mover script, but again, no mention of duplicate file handling anywhere. Can anyone confirm how duplicate files are handled by the mover in this version? Quote Link to comment
dgaschk Posted December 20, 2012 Share Posted December 20, 2012 What do mean by "duplicate files"? Please provide an example. Quote Link to comment
TheDragon Posted December 20, 2012 Author Share Posted December 20, 2012 For example: A file exists on a user share, called movie.mkv - //tower/Movies/movie.mkv A new file is created (same video, but different audio), it is transferred to the cache drive and saved to the same location in the directory structure - //tower/cache/Movies/movie.mkv Would it be: a) replaced on the user share b) ignored and deleted from the cache drive c) updated to the user share with just the changed bits Hope that makes sense. ps. apologies for not including an example in my first post! Quote Link to comment
trurl Posted December 20, 2012 Share Posted December 20, 2012 The mover script on my 5.0rc8a unRAID cat /usr/local/sbin/mover seems to be doing rsync --inplace which I think means that it overwrites an existing file with the file from cache. Quote Link to comment
dgaschk Posted December 20, 2012 Share Posted December 20, 2012 It will be replaced. The files system semantics should be identical to a standard file system. Quote Link to comment
TheDragon Posted December 20, 2012 Author Share Posted December 20, 2012 That's great, thanks for confirming that. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.