Commit graph

62 commits

Author SHA1 Message Date
Andrea Mazzoleni
37ac46a284 Uses the fast crc32 instruction if SSE4.2 is available. 2013-08-17 17:38:18 +02:00
Andrea Mazzoleni
3698064040 Uses a binary content file. 2013-08-17 16:17:53 +02:00
Andrea Mazzoleni
d0671e87eb Adds new test commands for saving the content file. 2013-08-09 14:12:08 +02:00
Andrea Mazzoleni
d8870cdd42 Adds a new --force-device option to allow to fix with disk with same device ID. 2013-07-26 14:50:52 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +02:00
Andrea Mazzoleni
33cf866699 Adds test for scrub. 2013-06-29 18:34:10 +02:00
Andrea Mazzoleni
d93f2f0595 Some variables renaming and relocation. 2013-06-29 18:15:24 +02:00
Andrea Mazzoleni
1ddb24da46 Groups all the startup options in the new snapraid_option struct. 2013-06-29 18:11:36 +02:00
Andrea Mazzoleni
a32a1cd9a8 Adds the new status and scrub commands. 2013-06-29 17:53:40 +02:00
Andrea Mazzoleni
fef9ea7ccd Removes some warning in Windows builds. 2013-06-25 22:44:29 +02:00
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
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
548e90c30f Activates spooky2 and adds the new rehash command. 2013-06-15 23:42:11 +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
8271203691 Removes a debug printf. 2013-03-05 19:02:04 +01:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39: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
bcf04a01a7 Changes the log default. Now it's stderr. 2013-03-02 18:20:37 +01:00
Andrea Mazzoleni
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +01:00
Andrea Mazzoleni
4c058d25e2 Adds some more undocumented --test options. 2013-02-28 23:06:42 +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
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
9b95d5951c Merges the two filtering operation to keep valid verbose output. 2012-11-23 00:09:50 +01:00
Andrea Mazzoleni
99223533eb Uses an inplicit AND operation between -d and -f filter options. 2012-11-23 00:01:02 +01:00
Andrea Mazzoleni
dc3b03c4c4 Ignore nanoseconds if -N is specified. 2012-11-12 23:01:07 +01:00
Andrea Mazzoleni
3d30a87952 Removes the -H option. 2012-10-14 10:08:39 +02:00
Andrea Mazzoleni
4ed9e0803f Adds some check about options compatibility. 2012-10-14 10:02:22 +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
5b048d8eab Prints short help also for -A. 2012-10-08 19:19:50 +02:00
Andrea Mazzoleni
1078bd4500 Adds and new -A option to only check hashes. 2012-10-07 23:18:10 +02:00
Andrea Mazzoleni
795df4a260 Adds a two second wait to workaround the FAT limitation of two second resololution of mtime. 2012-07-14 16:26:21 +02:00
Andrea Mazzoleni
3449f0afc1 Avoid Windows to go into sleep. 2012-06-20 22:37:19 +02: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
0099c8957c Adds a new --filter-nohidden option to filter out hidden files. 2011-12-08 22:40:30 +01:00
Andrea Mazzoleni
cec7b2f2b4 Adds a new "dup" command to find duplicates. 2011-12-08 20:37:27 +01:00
Andrea Mazzoleni
191dcdf3d4 Adds the --find-by-name option to find files by path instead than by inode. 2011-10-09 23:41:08 +02:00
Andrea Mazzoleni
e80d0ccdcf Use the st_dev field to ensure to use different disks. 2011-09-20 22:35:15 +02:00
Andrea Mazzoleni
b417ae5f6e Using numerical options instead of chars for test. 2011-09-06 21:15:28 +02:00
Andrea Mazzoleni
abd0096711 Save the content files also at the start of the sync process. 2011-09-03 22:21:45 +02:00
Andrea Mazzoleni
9597b32f1a More explicative --help option. 2011-07-27 18:57:01 +02:00
Andrea Mazzoleni
b21b3076f6 Even faster content load. 2011-06-23 20:28:52 +02:00
Andrea Mazzoleni
2aa36a5df5 Adds -G and diff commands. 2011-06-20 20:35:04 +02:00
Andrea Mazzoleni
e06f35b7e1 Adds the option -S to skip the self test.
Skips the self test in the regression tests, but the first time.
2011-04-29 17:44:14 +02:00
Andrea Mazzoleni
cb4a72afca Adds include logic in filtering. 2011-04-26 18:51:42 +02:00
Andrea Mazzoleni
f855424082 Adds recovering at RAID6 support.
Adds selftesting of RAID5 and RAID5.
2011-04-24 10:24:05 +02:00
Andrea Mazzoleni
08831c6641 Initial RAID6 support. Not yet complete.
Uses Murmur3 as default hash.
Check now returns and error even if only recoverable errors are present.
2011-04-23 21:38:26 +02:00
Andrea Mazzoleni
bbd8e95a44 Removes explicit references to MD5. 2011-04-12 22:16:35 +02:00
Andrea Mazzoleni
21569be70d Uses by default the OpenSSL crypto MD5 implementation. 2011-04-12 18:58:30 +02:00