Andrea Mazzoleni
da08ca4497
Makes a backup copy of the content file.
...
Before overwriting the existing content file, rename it
adding the .backup extension, but only if such content file
was read and validated.
2014-06-13 18:23:24 +02:00
Andrea Mazzoleni
68042d528d
New TODO entry about content file backup.
2014-06-13 00:26:03 +02:00
Andrea Mazzoleni
224aaa4415
Suggests to use VolumeID if two disks have the same serial.
2014-06-05 23:31:40 +02:00
Andrea Mazzoleni
ec8e4bcec5
Updates the HISTORY for 6.3.
2014-06-05 23:31:15 +02:00
Andrea Mazzoleni
e76441e789
With the nocopy option also remove hash info from previous sync.
...
If we want to disable the automatic hashing assumption of copy,
we need also to remove any previous hash info already stored
in the content file by previous sync commands run without the
nocopy option.
2014-06-05 23:06:13 +02:00
Andrea Mazzoleni
f7a060f6ab
Fixes a wrong comment about REP blocks.
...
The hash of the REP block doesn't represent the old data.
2014-06-05 22:45:55 +02:00
Andrea Mazzoleni
1063677959
Fixes reading of textual content file for REP blocks.
...
In the default case of using binary content files this bug has no effect.
2014-06-05 22:44:59 +02:00
Andrea Mazzoleni
7e119f26bc
More specific warning about files order.
2014-06-02 17:15:52 +02:00
Andrea Mazzoleni
6473f22c2b
Adds a missing ' in the messages.
2014-06-02 17:10:29 +02:00
Andrea Mazzoleni
49bc588ec1
Changes to version 6.3.
2014-06-02 17:10:17 +02:00
Andrea Mazzoleni
0e2d88d9fc
Uses fstat() instead of stat() to get the nanosecond timestamp.
2014-06-02 11:37:52 +02:00
Andrea Mazzoleni
da6c08ef46
Fixes some typos in the docs.
2014-05-19 23:21:17 +02:00
Andrea Mazzoleni
9f26763ec6
Opens the file read-only when setting the timestamp.
2014-05-18 18:10:24 +02:00
Andrea Mazzoleni
adc4f196fa
Adds the implementation of the new test-nano command.
2014-05-18 15:11:18 +02:00
Andrea Mazzoleni
de86307a27
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.
2014-05-15 23:45:51 +02:00
Andrea Mazzoleni
c840a3e287
Adds an entry for a more precise ETA.
2014-05-14 22:44:02 +02:00
Andrea Mazzoleni
f0cc9c9494
Prints the UUID if set for the first time.
2014-05-11 19:02:08 +02:00
Andrea Mazzoleni
899f8a2ab9
Changes to version 6.2.
2014-05-11 17:37:56 +02:00
Andrea Mazzoleni
8c78b4b4a9
Avoids to test permission when run as root.
2014-05-11 17:37:08 +02:00
Andrea Mazzoleni
23060095c9
Fixes some minor code issues found with coverity scan.
2014-05-09 22:07:07 +02:00
Andrea Mazzoleni
8c8b370d4c
Revert "Removes some warnings with old gcc compiler."
...
Not needed as _GNU_SOURCE should be already defined in config.h.
This reverts commit 65cfe677cc .
2014-04-10 20:45:57 +02:00
Andrea Mazzoleni
65cfe677cc
Removes some warnings with old gcc compiler.
2014-04-09 23:08:38 +02:00
Andrea Mazzoleni
0d231038ff
Extends the sync regression test to cover error conditions.
2014-04-07 23:12:40 +02:00
Andrea Mazzoleni
3c8b659c8a
Some more semplifications in error reporting.
2014-04-07 22:05:25 +02:00
Andrea Mazzoleni
451f87bae4
New entry in the TODO list.
2014-04-07 21:30:33 +02:00
Andrea Mazzoleni
3ca51ec426
Logs about fixing with import.
2014-04-05 16:12:26 +02:00
Andrea Mazzoleni
785a42e97c
Reviews message about UUID not enabled.
2014-04-05 16:04:53 +02:00
Andrea Mazzoleni
68aa553bdf
Uses a simpler error management in sync.
2014-04-04 23:06:00 +02:00
Andrea Mazzoleni
02b48d1d8e
Clarifies more the use of % in log names.
2014-04-03 23:57:40 +02:00
Andrea Mazzoleni
16ddf36121
Uses a more specific message if UUID are not supported.
2014-04-03 23:02:43 +02:00
Andrea Mazzoleni
dde48ca299
Adds a comment about not using inode order by default.
2014-04-03 22:52:53 +02:00
Andrea Mazzoleni
641b818432
Adds a note in the documentation about using %D %L options.
2014-04-02 21:48:47 +02:00
Andrea Mazzoleni
e226040ce2
Fixes the regression test making it less strict.
...
Creating files with at the same time, with the same name and same
size but different content may trigger the SnapRAID check about
bad data. This happens in Mac OS X that likely has a not so precise
timestamp, with files created at the same time, even if using
nanosecond precision.
2014-04-02 21:46:23 +02:00
Andrea Mazzoleni
549f232b3d
Changes to version 6.1.
2014-04-01 21:56:18 +02:00
Andrea Mazzoleni
9ddaa30e6c
Fixes build in Mac OS X.
2014-04-01 19:53:19 +02:00
Andrea Mazzoleni
4ce50e6714
Updates to the new license format for TommyDS.
2014-03-28 22:05:40 +01:00
Andrea Mazzoleni
365492df40
Removes unnecessary srcdir specification.
2014-03-28 21:36:38 +01:00
Andrea Mazzoleni
cdbd360641
Explains the -v option for fix and check.
2014-03-28 21:30:41 +01:00
Andrea Mazzoleni
e85be13d3b
Updates to latest TommyDS library.
2014-03-28 21:30:21 +01:00
Andrea Mazzoleni
44ef039a13
Different source organization.
2014-03-23 17:50:27 +01:00
Andrea Mazzoleni
1b4bd48e36
Adjusts coverage for new src dir.
2014-03-23 11:11:43 +01:00
Andrea Mazzoleni
a7bc628bc3
Moves the source files into the src/ dir.
2014-03-22 21:02:12 +01:00
Andrea Mazzoleni
ec9cdeac61
Handles failing tests in valgrind.
2014-03-22 11:43:43 +01:00
Andrea Mazzoleni
ba0c979c11
More coverage test.
2014-03-20 22:10:19 +01:00
Andrea Mazzoleni
cabe782a6f
Fixes doc about the help option.
2014-03-20 22:08:46 +01:00
Andrea Mazzoleni
ece08201ae
Reviews the TODO list.
2014-03-18 23:30:07 +01:00
Andrea Mazzoleni
03e5404d08
Minor beautify changes.
2014-03-18 22:35:01 +01:00
Andrea Mazzoleni
7da71a39d3
A lot of more logging when a recovering fails.
2014-03-18 21:04:25 +01:00
Andrea Mazzoleni
3081f97f76
Uses new default name for content and parity files.
2014-03-18 19:34:18 +01:00
Andrea Mazzoleni
a9428730b0
Changes default Windows .conf location to the .exe dir.
2014-03-18 00:00:53 +01:00