-
-
Notifications
You must be signed in to change notification settings - Fork 810
Open
Labels
Milestone
Description
borg usually defaults to --files-cache=ctime,inode,size.
on linux, this is the best way to determine a file has not changed since we cached information about it into the files cache. this is because ctime is the "inode change time" and is only under kernel control, so nothing can be "faked" there by userspace (like rolling back the time to hide a change or so).
on windows, ctime attribute is the file creation time, does not change and is thus pretty useless for this purpose.
because of that, test_file_status_cs_cache_mode is currently skipped on windows, but this can't be the final solution.
borg rather should use --files-cache=mtime,size on windows (not sure about inode).