Commit graph

492 commits

Author SHA1 Message Date
Andrea Mazzoleni
ca52ecc4c5 Improves documentation. 2013-08-20 12:23:46 +02:00
Andrea Mazzoleni
9d00435b42 Uses the CRC_IV directly in the crc32c() function. 2013-08-19 12:45:12 +02:00
Andrea Mazzoleni
5136eb3719 Uses -1 as initial value for the CRC computation. 2013-08-19 12:28:19 +02:00
Andrea Mazzoleni
053bdd9952 Faster CRC generic implementation. 2013-08-19 12:13:08 +02:00
Andrea Mazzoleni
3a6128f248 Adds test vectors for the CRC. 2013-08-19 12:11:47 +02:00
Andrea Mazzoleni
9d0af268d4 Somes changes at the new binary format. 2013-08-19 11:19:26 +02:00
Andrea Mazzoleni
2a35b00d16 Adds extra checks when decoding binary integers. 2013-08-19 11:18:50 +02:00
Andrea Mazzoleni
9a57dd6dc8 Adds a test for the silent error fixing. 2013-08-18 20:30:10 +02:00
Andrea Mazzoleni
a774b62448 Adds scrub documentation. 2013-08-18 19:35:40 +02:00
Andrea Mazzoleni
367d243f63 Always recheck bad blocks in scrub. 2013-08-18 19:35:25 +02:00
Andrea Mazzoleni
746901d0be Adds a the new -e, --filter-error option for fix and check. 2013-08-18 19:24:55 +02:00
Andrea Mazzoleni
746c829bec When damaging files in the test, restore the time. 2013-08-18 18:03:22 +02:00
Andrea Mazzoleni
f2e6a0328a Uses STAT_NSEC_INVALID in the portable interface instead of FILE_MTIME_NSEC_INVALID. 2013-08-18 18:02:25 +02:00
Andrea Mazzoleni
147b905495 Updates comments and documentation. 2013-08-18 17:21:39 +02:00
Andrea Mazzoleni
d8252ca683 Adds a note about clang use. 2013-08-17 18:37:55 +02:00
Andrea Mazzoleni
a0975cd070 Removes some unnecessary output in the test. 2013-08-17 18:37:33 +02:00
Andrea Mazzoleni
43e238ee71 Avoid to generate 0 as random number when dealing with size. 2013-08-17 18:23:26 +02:00
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
d87f371a1d Fixes again the parity size computation when reading. 2013-08-17 11:58:31 +02:00
Andrea Mazzoleni
235a9cbbf1 Removes references to old 'inv' blocks. 2013-08-16 22:16:49 +02:00
Andrea Mazzoleni
8f953903cc Computes correctly the parity size when reading the content file. 2013-08-16 22:15:23 +02:00
Andrea Mazzoleni
8102df688b Rejectes .gz support. Too slow. 2013-08-09 14:12:20 +02:00
Andrea Mazzoleni
d0671e87eb Adds new test commands for saving the content file. 2013-08-09 14:12:08 +02:00
Andrea Mazzoleni
f8d5c6dedc Print error report only if something was processed. 2013-08-07 22:48:48 +02:00
Andrea Mazzoleni
069452680d In scrupt prints a report of the number of errors found. 2013-08-07 22:25:41 +02:00
Andrea Mazzoleni
c2f8b49153 Reviews some comments. 2013-08-07 20:14:28 +02:00
Andrea Mazzoleni
f528f74add Revies output of status command. 2013-08-02 18:08:54 +02:00
Andrea Mazzoleni
7d3bfb13eb Adds in TODO a new item for names including \r and \n chars. 2013-08-02 18:08:19 +02:00
Andrea Mazzoleni
865fc0c1f4 Adds a consistency check about missing previous hash. 2013-08-01 19:36:12 +02:00
Andrea Mazzoleni
0db2428132 On error prints the correct blk tag. 2013-08-01 19:04:47 +02:00
Andrea Mazzoleni
24e9b8863a In scrub doesn't report silent errors if they are caused by unsynched data. 2013-07-31 22:31:57 +02:00
Andrea Mazzoleni
30fabb7d50 Fixes some comments. 2013-07-30 20:49: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
4c8b79b13c Reviews the TODO list. 2013-07-26 14:49:55 +02:00
Andrea Mazzoleni
e1cc6cbd8b Little documentation update. 2013-07-24 21:57:21 +02:00
Andrea Mazzoleni
ae348ae083 Disables mount point check in Windows. It's not clear how to check that. 2013-07-24 21:56:52 +02:00
Andrea Mazzoleni
e75b7c9bf3 Removes double space. 2013-07-24 21:56:37 +02:00
Andrea Mazzoleni
21362e9b01 Handles error ERROR_HANDLE_EOF (38) when getting the physical address of small files. 2013-07-24 21:41:16 +02:00
Andrea Mazzoleni
56ce2ff8d1 Fixes the autosize format example. 2013-07-20 09:12:15 +02:00
Andrea Mazzoleni
cefe021e60 Doesn't start sync if Ctrl+C is pressed. 2013-07-10 19:37:58 +02:00
Andrea Mazzoleni
7fa93e6c98 Removes unnecessary warning removal. 2013-07-10 19:37:36 +02:00
Andrea Mazzoleni
c5b26ed30a Marks the 4.0 version as BETA to avoid confusion. 2013-07-10 18:57:36 +02:00
Andrea Mazzoleni
3768ac329c Fixes root directory creation in Windows. 2013-07-10 18:33:19 +02:00
Andrea Mazzoleni
e8b2d359d6 Doesn't use the physical address in Wine. 2013-07-10 18:31:48 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +02:00
Andrea Mazzoleni
2fdcecf350 More options in the test config files. 2013-07-01 21:10:35 +02:00
Andrea Mazzoleni
b558d9d831 Fixes the computation of the scrub ending block address. 2013-06-29 21:26:50 +02:00
Andrea Mazzoleni
6e607ace08 In check doesn't report as unrecoverable error the missing destination of hardlinks. 2013-06-29 18:53:58 +02:00
Andrea Mazzoleni
33cf866699 Adds test for scrub. 2013-06-29 18:34:10 +02:00