Commit graph

501 commits

Author SHA1 Message Date
Andrea Mazzoleni
4921ff6f80 Saves in the content files info only for positions with at least one hash.
Also checks that when loading.
2013-08-21 22:03:09 +02:00
Andrea Mazzoleni
49bc1e0af7 Fixes the help screen. 2013-08-21 20:09:01 +02:00
Andrea Mazzoleni
9ca2637702 When reading in text mode adds the block info only if there is a block with a hash. 2013-08-21 20:08:11 +02:00
Andrea Mazzoleni
38f814b9bc Reviews the TODO list. 2013-08-20 21:07:13 +02:00
Andrea Mazzoleni
6a4879caad Uses the crc32q Intel instruction in x64 platforms. 2013-08-20 20:33:22 +02:00
Andrea Mazzoleni
28bdd0f7b7 Adds the speed test for CRC. 2013-08-20 18:55:54 +02:00
Andrea Mazzoleni
9324933be0 Changes again the binary format for hole and inf 2013-08-20 14:25:29 +02:00
Andrea Mazzoleni
cab5309fd2 Updates the content text write process to the new changes. 2013-08-20 13:06:18 +02:00
Andrea Mazzoleni
3fc1fd1d65 Drops old sign check for text content file. 2013-08-20 12:49:31 +02:00
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