Commit graph

2270 commits

Author SHA1 Message Date
Andrea Mazzoleni
dffb1c655f Fixes the device detection of the pool dir.
We should not remove the file name, because it's already the directory.
2013-03-10 09:46:20 +01:00
Andrea Mazzoleni
a8c87614f1 Prints the operation done before proceeding. 2013-03-10 09:45:53 +01:00
Andrea Mazzoleni
9195f60a36 Fixes copyright year. 2013-03-05 19:09:09 +01:00
Andrea Mazzoleni
6d5feafd1f Updated the month of the release. 2013-03-05 19:02:25 +01:00
Andrea Mazzoleni
8271203691 Removes a debug printf. 2013-03-05 19:02:04 +01:00
Andrea Mazzoleni
8a7debd4f1 Doesn't print anymore the list of filtered files because it's going to be printed directly by check and fix. 2013-03-05 19:01:29 +01:00
Andrea Mazzoleni
69e65d11e1 Updates .gitignore. 2013-03-05 19:01:02 +01:00
Andrea Mazzoleni
2a9430e439 Uses a simpler test for UUID change. 2013-03-04 21:44:29 +01:00
Andrea Mazzoleni
1973c32f30 Allows 1 or 2 UUID change without the need of the -U option. 2013-03-04 21:37:26 +01:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
8810d7b05d Uses getc() instead of geteol() when we are expecting a space. 2013-03-03 17:42:42 +01:00
Andrea Mazzoleni
f5986f24a1 Fixes a typo in comment. 2013-03-03 14:16:46 +01:00
Andrea Mazzoleni
8bb7cf9f29 Removes the -S options. It was left in by mistake. 2013-03-03 14:16:08 +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
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