Commit graph

97 commits

Author SHA1 Message Date
Andrea Mazzoleni
fceaa8a4cf Uses a lock file instead than a pid file.
It's more appropriate for a not daemon.
2013-06-18 21:06:31 +02:00
Andrea Mazzoleni
bc2a837953 Adds pid file support. 2013-06-17 23:50:26 +02:00
Andrea Mazzoleni
4455ba7e4f Adds a random hash seed. 2013-06-16 00:33:46 +02:00
Andrea Mazzoleni
548e90c30f Activates spooky2 and adds the new rehash command. 2013-06-15 23:42:11 +02:00
Andrea Mazzoleni
7ad4d26e0c Fixes the computation of the expected parity size. 2013-06-10 18:35:25 +02:00
Andrea Mazzoleni
e64badd05e Adds Spooky hash and a better RAID algo selection. 2013-06-09 22:55:57 +02:00
Andrea Mazzoleni
ca2da5178a Print the disk serial number if there is a collision. 2013-06-08 14:53:59 +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
07d5027936 When reading the configuration checks if a disk name is duplicated. 2013-03-28 18:37:31 +01:00
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
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
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
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +01:00
Andrea Mazzoleni
08cd411748 Fixes -m option. Now it really excludes present files. 2013-03-01 18:29:04 +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
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
acad6aad04 Adds the new -m, --filter-missing options to undelete files. 2013-02-24 11:33:09 +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
91752b255b Prints more informative comments if the hash type is not defined or MD5. 2013-01-30 19:26:38 +01:00
Andrea Mazzoleni
cc21721b2a Supports hardlinks in both Unix and Windows. 2013-01-27 18:06:15 +01:00
Andrea Mazzoleni
a0a213664b Saves and restores also empty directories. 2013-01-27 16:44:04 +01:00
Andrea Mazzoleni
e60161ec05 Checks for empty options in the configuration file. 2013-01-15 22:32:20 +01:00
Andrea Mazzoleni
9b95d5951c Merges the two filtering operation to keep valid verbose output. 2012-11-23 00:09:50 +01:00
Andrea Mazzoleni
dc3b03c4c4 Ignore nanoseconds if -N is specified. 2012-11-12 23:01:07 +01:00
Andrea Mazzoleni
9e1ea619c5 Removes MD5 support. 2012-11-04 00:53:14 +01:00
Andrea Mazzoleni
54ce14c450 Updates the comment about which version support nanosecond time. 2012-11-02 14:08:42 +01:00
Andrea Mazzoleni
3d30a87952 Removes the -H option. 2012-10-14 10:08:39 +02:00
Andrea Mazzoleni
a93379f672 Adds a new -d command to filter by disk name.
Renames -A to -a for consistency.
2012-10-10 23:32:09 +02:00
Andrea Mazzoleni
91e74e91b8 Checks the parity size in sync. 2012-10-09 23:02:46 +02:00
Andrea Mazzoleni
3c598b28cc Compiles with optional nanoseconds supports. 2012-09-19 21:52:15 +02:00
Andrea Mazzoleni
04c277f925 Automatically convert old content files to the new nanosecond format. 2012-07-13 20:53:57 +02:00
Andrea Mazzoleni
71c7f4dffb More precise file modification time, now using nanoseconds. 2012-07-10 23:24:31 +02:00
Andrea Mazzoleni
eb80a44525 Detects if the Windows disk serial number is 0. 2012-03-24 09:14:21 +01:00
Andrea Mazzoleni
aa96266355 Asks for device number if the device check fails in Windows. 2012-03-21 21:57:43 +01:00
Andrea Mazzoleni
1314f12d64 Changes come comments. No functionality change. 2012-03-15 22:58:04 +01:00
Andrea Mazzoleni
2a50ec747d Adds the new autosave configuration option.
Checks the parity validity invariant after reading the content file.
2012-03-13 23:59:59 +01:00
Andrea Mazzoleni
a2b41f23be Adds an extra check for the too may disks condition. 2012-03-13 21:24:34 +01:00
Andrea Mazzoleni
e133eea441 Fixes some error messages. 2012-02-09 23:29:36 +01:00
Andrea Mazzoleni
55fae37e7f Improves recovering after an aborted sync. 2012-02-09 23:17:36 +01:00
Andrea Mazzoleni
31abb8e323 Checks if parity and content options are pointing to the same file. 2012-01-31 21:53:26 +01:00
Andrea Mazzoleni
457eaf829c Prints memory occupation after scanning the directories. 2012-01-21 10:17:55 +01:00
Andrea Mazzoleni
4e2cb40f98 Reports the size of the allocated memory. 2011-12-31 12:37:47 +01:00
Andrea Mazzoleni
a0ad57d4f1 Added a checksum to the content file. 2011-12-31 12:09:05 +01:00
Andrea Mazzoleni
a7c41fa3ae Even more faster write of content files. 2011-12-15 20:23:19 +01:00