Commit graph

88 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
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
Andrea Mazzoleni
98fc24c195 Faster and parallel writing of content files. 2011-12-14 21:08:17 +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
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
4adef9dc17 Saves the disk mapping inside the content file. 2011-10-01 19:18:32 +02:00
Andrea Mazzoleni
99515f610c Separates the disk array in a disk list and a handle mapping vector. 2011-09-23 21:48:50 +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
83f89f4f0e Some minor changes. 2011-09-19 20:45:35 +02:00
Andrea Mazzoleni
50078b8155 Automatically excludes content files if stored in data disks. 2011-09-18 22:43:41 +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