Commit graph

1706 commits

Author SHA1 Message Date
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
49ff05e0bb Fixes the check for printing the names of files outside the parity. 2013-03-02 18:33:48 +01:00
Andrea Mazzoleni
bcf04a01a7 Changes the log default. Now it's stderr. 2013-03-02 18:20:37 +01:00
Andrea Mazzoleni
349cf0cdc8 Fixes a memory leak in import. 2013-03-02 09:57:28 +01:00
Andrea Mazzoleni
10db41c732 Fixes compilation in Windows. 2013-03-01 20:17:41 +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
08cd411748 Fixes -m option. Now it really excludes present files. 2013-03-01 18:29:04 +01:00
Andrea Mazzoleni
266c6a1da1 Removes a warning. 2013-03-01 00:14:10 +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
e6c44e715a Adds missing import.c/h files. 2013-02-28 22:35:52 +01:00
Andrea Mazzoleni
19ced1e6b3 Preloads all the functions required in Windows. 2013-02-28 22:03:56 +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
94ba44c0e7 Adds a missing fadvise() for sequential access in parity creation. 2013-02-27 20:58:03 +01:00
Andrea Mazzoleni
14039c1a63 Fixes compilation in Windows. 2013-02-27 20:50:40 +01:00
Andrea Mazzoleni
28efb85011 Moves the unix support to the unix.c/h files and removes the os.c/h ones. 2013-02-27 20:20:49 +01:00
Andrea Mazzoleni
b7bedc8b60 Reduces memory occupation with many files. 2013-02-26 21:26:45 +01:00
Andrea Mazzoleni
a41443b6b6 More extensive testing. 2013-02-26 20:27:51 +01:00
Andrea Mazzoleni
b9517ae4a3 Tries to recover also files without any valid hash. 2013-02-26 20:26:57 +01:00
Andrea Mazzoleni
1b043de558 Changes to version 3.0. Too much changes in the queue for a dot release. 2013-02-24 19:45:56 +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
027b6e3fcd Does'n preinitialize memory when running for valgrind. 2013-02-24 18:00:53 +01:00
Andrea Mazzoleni
f84ff1e74a Updates the .txt documentation. 2013-02-24 14:43:52 +01:00
Andrea Mazzoleni
acad6aad04 Adds the new -m, --filter-missing options to undelete files. 2013-02-24 11:33:09 +01:00
Andrea Mazzoleni
187e3a0bcf Reviews the TODO list. 2013-02-24 11:11:33 +01:00
Andrea Mazzoleni
ef13900bc3 Reviews comments. No functional change. 2013-02-24 11:10:10 +01:00
Andrea Mazzoleni
788001cc45 Removes all the access() uses. 2013-02-24 09:46:42 +01:00
Andrea Mazzoleni
afd4120622 Fixes directory creation. 2013-02-24 09:38:46 +01:00
Andrea Mazzoleni
d6c3b1b326 Doesn't use access to check if a directory exists. 2013-02-24 09:32:27 +01:00
Andrea Mazzoleni
2378de67dd Detects also forward slash when checking for the extended-length path format in Windows.
If the user specify it in the configuration file, it could happen to have it
converted by path_import().
2013-02-22 22:47:17 +01:00
Andrea Mazzoleni
38e1f4e251 Adds the new pool command to create a virtual view for the array. 2013-02-22 22:17:54 +01:00
Andrea Mazzoleni
dc1909ea03 Prints more information if growing the parity fails for lack of space. 2013-02-22 22:14:55 +01:00
Andrea Mazzoleni
f2629ee720 Uses direct Windows calls for mkdir/rmdir/access/remove. 2013-02-22 19:08:39 +01:00
Andrea Mazzoleni
2f42aadf38 Adds support for symlinks in Windows. 2013-02-21 19:12:59 +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
e92f712f49 Removes documentation comment about hardlinks not now valid anymore. 2013-02-15 22:08:54 +01:00
Andrea Mazzoleni
795c140d4e Adds .gitignore 2013-02-13 21:32:35 +01:00
Andrea Mazzoleni
91752b255b Prints more informative comments if the hash type is not defined or MD5. 2013-01-30 19:26:38 +01:00
Andrea Mazzoleni
452f88795f Removes the forward declaration of scan_link 2013-01-27 18:58:48 +01:00
Andrea Mazzoleni
21b0645170 In Windows uses the long path format also for rename to ensure that operation in very deep dirs don't fail. 2013-01-27 18:52:26 +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
bf0ab70a00 Switches to version 2.2. 2013-01-26 23:19:40 +01:00
Andrea Mazzoleni
19bb918680 Adds some more items in the TODO list. 2013-01-23 18:50:42 +01:00