Commit graph

73 commits

Author SHA1 Message Date
Andrea Mazzoleni
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
4455ba7e4f Adds a random hash seed. 2013-06-16 00:33:46 +02:00
Andrea Mazzoleni
5c0b7d2e6c Better handling of return value in handle_create(). 2013-06-01 22:49:38 +02:00
Andrea Mazzoleni
2cc948a50c Removes instead of renananig new partially recovered files when aborting. 2013-06-01 08:31:47 +02:00
Andrea Mazzoleni
5fef489a25 When renaming incomplete files, scans the full file list to take into account for fragmented files. 2013-05-31 23:34:59 +02:00
Andrea Mazzoleni
d5c1843ba6 Deletes create file if the fix process is aborted. 2013-04-28 19:01:36 +02:00
Andrea Mazzoleni
aeb167bb16 Adds --test-skip-sequential to disable the sequential hint for the disk cache. 2013-04-04 22:52:56 +02:00
Andrea Mazzoleni
8c7332cfda Rechecks the hash of imported files before using them. 2013-03-19 21:59:13 +01:00
Andrea Mazzoleni
473e6218b5 Prints the fix/check file result only if verbose is enabled. 2013-03-03 00:13:34 +01:00
Andrea Mazzoleni
3d911e1732 Prints the final status also for check. 2013-03-02 23:49:29 +01:00
Andrea Mazzoleni
c06605a568 Prints the result of each file in check and fix. 2013-03-02 23:17:55 +01:00
Andrea Mazzoleni
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +01:00
Andrea Mazzoleni
7f8551fccb Doesn't stop if a hardlink cannot be created because the target doesn't exist. 2013-03-01 18:48:13 +01:00
Andrea Mazzoleni
e0acbda4bd Opens filtered out files in read-only mode. 2013-03-01 00:12:57 +01:00
Andrea Mazzoleni
4c058d25e2 Adds some more undocumented --test options. 2013-02-28 23:06:42 +01:00
Andrea Mazzoleni
3cd7b4ee03 Removes support to symlink to dirs in Windows. They are different than symlinks to files. 2013-02-28 21:56:02 +01:00
Andrea Mazzoleni
6da21cdbd9 Adds the -i, --import options to import deleted files for fix. 2013-02-27 21:07:16 +01:00
Andrea Mazzoleni
b9517ae4a3 Tries to recover also files without any valid hash. 2013-02-26 20:26:57 +01:00
Andrea Mazzoleni
1e3e88d51c Removes INV blocks. There are not unnecessary as we always keep deleted/changed ones to keep the information that the parity is invalid. 2013-02-24 19:43:53 +01:00
Andrea Mazzoleni
5c4f6dc5c4 Keeps track of the hash of deleted blocks.
This will allow an easier recovering providing manually deleted files.
2013-02-24 19:02:53 +01:00
Andrea Mazzoleni
ef13900bc3 Reviews comments. No functional change. 2013-02-24 11:10:10 +01:00
Andrea Mazzoleni
470dc9d47e More clear check for overflow. 2013-02-21 18:50:27 +01:00
Andrea Mazzoleni
a1e7786dd5 Moves handle_ancestor() to mkancestor() to be a generic function. 2013-02-20 13:29:58 +01:00
Andrea Mazzoleni
cc21721b2a Supports hardlinks in both Unix and Windows. 2013-01-27 18:06:15 +01:00
Andrea Mazzoleni
3cb0a2b8b4 Groups recover operations by disk, not by recover kind. 2013-01-27 16:48:53 +01:00
Andrea Mazzoleni
a0a213664b Saves and restores also empty directories. 2013-01-27 16:44:04 +01:00
Andrea Mazzoleni
2d6528fe90 If O_NOATIME use fails with EPERM, retry without it. 2012-11-04 00:26:30 +01:00
Andrea Mazzoleni
37f18e3bf4 Fixes a Segmentation Fault in fixing/checking. 2012-11-02 14:07:18 +01:00
Andrea Mazzoleni
91e74e91b8 Checks the parity size in sync. 2012-10-09 23:02:46 +02:00
Andrea Mazzoleni
1078bd4500 Adds and new -A option to only check hashes. 2012-10-07 23:18:10 +02:00
Andrea Mazzoleni
8373233f25 Prints list of files outside the parity if growing is not possible. 2012-10-06 13:17:21 +02:00
Andrea Mazzoleni
026954e41e Fixes a typo in a comment. 2012-10-03 19:49:20 +02:00
Andrea Mazzoleni
69135ec730 Added interim 1.12 release. 2012-09-19 18:30:23 +02:00
Andrea Mazzoleni
71c7f4dffb More precise file modification time, now using nanoseconds. 2012-07-10 23:24:31 +02:00
Andrea Mazzoleni
f93535e31b Some comments about the recovering strategy. 2012-06-20 23:05:15 +02:00
Andrea Mazzoleni
1314f12d64 Changes come comments. No functionality change. 2012-03-15 22:58:04 +01:00
Andrea Mazzoleni
e927c8d905 Invalidates the parity also if there is a DELETED block. 2012-03-13 23:55:09 +01:00
Andrea Mazzoleni
e99b3e3461 Fixes a typo. 2012-03-13 23:45:05 +01:00
Andrea Mazzoleni
afb77784bf Changes the opening parity message. 2012-02-09 23:19:31 +01:00
Andrea Mazzoleni
55fae37e7f Improves recovering after an aborted sync. 2012-02-09 23:17:36 +01:00
Andrea Mazzoleni
45e54685da Setting up for v1.9
Prints the new Opening parity message before the real work.
2012-02-02 19:26:33 +01:00
Andrea Mazzoleni
925be90390 Checking and fixing also empty files. 2011-10-15 08:39:52 +02:00
Andrea Mazzoleni
966bdf75ad In fixing not recoverable files are renamed adding the ".unrecoverable" extension. 2011-10-10 20:42:52 +02:00
Andrea Mazzoleni
1dbd801dcb Better performance in fix keeping track of which part of the files is not initialized. 2011-10-09 07:51:25 +02:00
Andrea Mazzoleni
4adef9dc17 Saves the disk mapping inside the content file. 2011-10-01 19:18:32 +02:00
Andrea Mazzoleni
99515f610c Separates the disk array in a disk list and a handle mapping vector. 2011-09-23 21:48:50 +02:00
Andrea Mazzoleni
66e9c359fd Restores the modification time of files in fixing. 2011-08-31 23:33:43 +02:00
Andrea Mazzoleni
399f181a57 Initial support for symlinks. Only in *nix. 2011-08-26 14:18:38 +02:00
Andrea Mazzoleni
2aa36a5df5 Adds -G and diff commands. 2011-06-20 20:35:04 +02:00
Andrea Mazzoleni
8b3075a023 More consistent in error reporting for files with garbage at the end. 2011-06-12 14:18:36 +02:00