mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
Uses a smarter copy detection to avoid false positive.
Now a if the file has a zero nanosecond timestamp, it must match the full pathname. Also add the new -N option and an new undocumented test-nano command to set randomly the nanosecond timestamp of files that have it at zero.
This commit is contained in:
parent
c840a3e287
commit
de86307a27
13 changed files with 152 additions and 32 deletions
|
|
@ -393,7 +393,7 @@ int file_utime(struct snapraid_file* file, int f)
|
|||
|
||||
ret = futimesat(f, 0, tv);
|
||||
#else
|
||||
#error No function available to set file timestamps
|
||||
#error No function available to set file timestamps with sub-second precision
|
||||
#endif
|
||||
|
||||
if (ret != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue