Commit graph

113 commits

Author SHA1 Message Date
Andrea Mazzoleni
eff03aead0 Counts copied files. 2014-03-02 21:56:59 +01:00
Andrea Mazzoleni
f6c2ae14de When reusing hash, only take into account rehash and not the bad tag. 2014-02-16 08:59:59 +01:00
Andrea Mazzoleni
c420391493 Detects copied files and reuse hash data. 2014-02-12 20:02:35 +01:00
Andrea Mazzoleni
24fd5ab318 Excludes handling of error condition from the coverage test. 2014-02-03 22:40:51 +01:00
Andrea Mazzoleni
74493a5f3d When reallocating REP blocks keep the hash information. 2014-02-01 23:32:53 +01:00
Andrea Mazzoleni
ba1d6ed2b6 Merges NEW and CHG blocks and introduces REP blocks.
This is a preparation for using REP blocks for containing hashes
of new data.
2014-02-01 17:57:26 +01:00
Andrea Mazzoleni
d89d1feba7 Uses a less dramatic warning. 2014-01-26 19:31:10 +01:00
Andrea Mazzoleni
a59d2e969e Doesn't warn about changed UUID for new disks. 2014-01-04 17:42:45 +01:00
Andrea Mazzoleni
bbe151792c Reallocates files after a failed sync. 2013-12-24 21:46:27 +01:00
Andrea Mazzoleni
4ec6ac113c Hides log info related to empty dirs as they could be misleading. 2013-12-15 09:37:28 +01:00
Andrea Mazzoleni
7be2420cf3 Avoids to use inodes in disk with UUID changed. 2013-12-14 17:54:04 +01:00
Andrea Mazzoleni
ab7edd7518 Does not count empty dirs as files in diff counters. 2013-12-14 12:00:58 +01:00
Andrea Mazzoleni
a7d6b86b7b Prints the list of files with dup offset. 2013-12-02 19:03:00 +01:00
Andrea Mazzoleni
18deae30a4 Sets NEW hash to 0 when converting them to DELETED blocks.
This avoids to use not initialized hash for deleted blocks,
when deleting files after an aborted sync.
2013-10-27 20:59:37 +01:00
Andrea Mazzoleni
1c07ed86f8 Changes the output format to make it more consistent between commands. 2013-10-19 13:24:35 +02:00
Andrea Mazzoleni
70244133f4 Changes the meaning of the -G, --gui option to now remove only
the interactive output. All the other log options are not enabled
by default.
2013-10-03 22:44:33 +02:00
Andrea Mazzoleni
5afd4421ce Doesn't use inodes in dirent in Windows. 2013-10-03 21:45:48 +02:00
Andrea Mazzoleni
8ea5ed3230 Sorts files by inode before calling stat(). 2013-10-02 23:05:22 +02:00
Andrea Mazzoleni
ec172efb5c Merge branch 'b4'
Conflicts:
	HISTORY
2013-10-02 21:32:30 +02:00
Andrea Mazzoleni
3167ec4048 Adds support for filename containing newlines. 2013-10-01 18:22:41 +02:00
Andrea Mazzoleni
0e2a2b3f10 Handles correctly the diff case for filesystem without persistent inodes. 2013-10-01 18:22:14 +02:00
Andrea Mazzoleni
7f9ca6933e Removes unexpected Restore message from diff with filesystem without persistent inodes. 2013-09-30 22:42:33 +02:00
Andrea Mazzoleni
d35beda689 Improves the -G, --gui output. 2013-09-30 22:24:30 +02:00
Andrea Mazzoleni
ea737e1abc Merge branch 'b4'
Conflicts:
	HISTORY
	configure.ac
2013-09-29 21:52:41 +02:00
Andrea Mazzoleni
1582dba2c5 Doesn't update parity for blocks that are not changed even if the file has a different timestamp. 2013-09-29 21:01:31 +02:00
Andrea Mazzoleni
6deecb26de Detects the case of physical offsets not reported beucase the file doesn't have one. 2013-09-28 15:33:56 +02:00
Andrea Mazzoleni
d525b4a14a Reduces memory usage, with new array growing by fixed size and not exponential. 2013-09-28 09:40:08 +02:00
Andrea Mazzoleni
e8ba8c435a Auto detection of fake physical offsets.
Fixes hardlink detection with not persistent inodes.
2013-09-25 23:20:07 +02:00
Andrea Mazzoleni
4eee6b9c4a Doesn't fail in filephy() after an unexpected error. There are too many filesystem to know that are expected errors. 2013-09-24 21:45:07 +02:00
Andrea Mazzoleni
e4e13a669b Marks FUSE filesystem as with not persistent inodes,
disabling inode use in such case.
2013-08-27 23:02:12 +02:00
Andrea Mazzoleni
4fb96c0dec In the messages uses WARNING in uppercase. 2013-08-27 22:42:50 +02:00
Andrea Mazzoleni
d0696e5380 Reviews some comment and really clear unused inodes. 2013-08-26 21:02:20 +02:00
Andrea Mazzoleni
4f309c042f Ensures that a changed link triggers the content write. 2013-08-26 20:50:15 +02:00
Andrea Mazzoleni
8eafeafcb6 Removes the --find-by-name, -N option. Now it automatically searches
by name if a file is not found searching by inode, automatically
reassigning inodes in restored files
2013-08-26 20:33:25 +02:00
Andrea Mazzoleni
0eddc7c592 Warning removal in some architectures. 2013-08-23 18:25:28 +02:00
Andrea Mazzoleni
b247524630 Updates some comments. 2013-08-21 22:34: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
30fabb7d50 Fixes some comments. 2013-07-30 20:49:08 +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
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
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
6a23acec2f Ignores mount points. 2013-06-21 23:57:58 +02:00
Andrea Mazzoleni
70bbf2596f Adds an explicative comment about dead code. 2013-06-12 20:22:56 +02:00
Andrea Mazzoleni
f8420e1dff Reduces memory occupation for hardlinks and empty dirs. 2013-05-30 23:50:26 +02:00
Andrea Mazzoleni
52bc209e83 Uses case insensitive comparison in Windows. 2013-05-14 21:34:51 +02:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +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