Commit graph

44 commits

Author SHA1 Message Date
Andrea Mazzoleni
7a6db8600d Enforces the invariant of having BLK states only if the parity is OK. Otherwise the block is moved to INV. 2012-03-13 23:45:56 +01:00
Andrea Mazzoleni
55fae37e7f Improves recovering after an aborted sync. 2012-02-09 23:17:36 +01:00
Andrea Mazzoleni
f14ab1aa3b Fixes the count of new files. 2012-02-03 19:16:14 +01:00
Andrea Mazzoleni
457eaf829c Prints memory occupation after scanning the directories. 2012-01-21 10:17:55 +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
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
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
Andrea Mazzoleni
23a26390ce Fixed --force-empty 2011-09-03 10:19:18 +02:00
Andrea Mazzoleni
6d0145f3a6 Lists all the empty disks when asking for --force-empty. 2011-09-03 10:12:13 +02:00
Andrea Mazzoleni
399f181a57 Initial support for symlinks. Only in *nix. 2011-08-26 14:18:38 +02:00
Andrea Mazzoleni
628fd0e683 Fixed the recognition of reuse of inodes in diff. 2011-07-27 18:51:07 +02:00
Andrea Mazzoleni
82cc02dc43 Always use the full path in output messages. 2011-06-26 21:37:47 +02:00
Andrea Mazzoleni
a1f493d18b Some output changes at the diff command. 2011-06-26 21:26:18 +02:00
Andrea Mazzoleni
1449a85f41 More explicative message for --force-empty. 2011-06-26 20:42:32 +02:00
Andrea Mazzoleni
2eec5eb675 In move prints the old name before deallocating it. 2011-06-24 20:47:22 +02:00
Andrea Mazzoleni
2aa36a5df5 Adds -G and diff commands. 2011-06-20 20:35:04 +02:00
Andrea Mazzoleni
a1b3c98c04 Typo fix in a message. 2011-06-14 22:14:00 +02:00
Andrea Mazzoleni
0365488ce9 Using lstat also in Windows. 2011-06-11 10:19:34 +02:00
Andrea Mazzoleni
9fe39ec703 Ignores symbolic links. They are not backuped. 2011-06-11 10:01:08 +02:00
Andrea Mazzoleni
f8d2c91a96 Changes the way files without read or write permission are handled.
Now we try to continue processing returning a warning where possible.
2011-06-11 09:38:19 +02:00
Andrea Mazzoleni
900c0e9297 First removes files before adding new ones to minimize the parity size. 2011-05-24 21:49:15 +02:00
Andrea Mazzoleni
35f3c092ed Fixes support of file names starting or ending with a space. 2011-05-24 21:03:30 +02:00
Andrea Mazzoleni
6bead7d180 Fixes getting file info in Windows for some special files. 2011-05-04 19:28:36 +02:00
Andrea Mazzoleni
64f4d59adb Reduces the permission to stat files in Windows.
Check explicitely to have read permission in scanning.
2011-05-04 00:22:12 +02:00
Andrea Mazzoleni
5a2e118c38 In Windows convert backslash to forward slash. 2011-05-03 23:28:03 +02:00
Andrea Mazzoleni
10511499aa Uses PRIu64 to print 64 bit integers. 2011-04-29 22:37:40 +02:00
Andrea Mazzoleni
f4f5554287 Reduces memory occupation. 2011-04-28 23:09:19 +02:00
Andrea Mazzoleni
cb4a72afca Adds include logic in filtering. 2011-04-26 18:51:42 +02:00
Andrea Mazzoleni
501e8e7ec3 Adds support for hardlinks. 2011-03-30 17:24:09 +02:00
Andrea Mazzoleni
bd80df19ac Completes filtering with patterns. 2011-03-30 17:02:02 +02:00
Andrea Mazzoleni
ba73d0c574 Fixes saving state when only moved files are detected. 2011-03-29 23:55:47 +02:00
Andrea Mazzoleni
0451c9e8a0 Handles correctly file deletion in sync. 2011-03-22 23:23:45 +01:00
Andrea Mazzoleni
de07510220 Uses inodes to identify files.
It allows to automatically handle file move or rename without the need to rehash the file.
2011-03-20 22:36:49 +01:00
Andrea Mazzoleni
d978701783 Fixed a memory leak in scanning 2011-03-19 00:34:01 +01:00
Andrea Mazzoleni
f443a7f089 Better error management 2011-03-18 22:38:11 +01:00
Andrea Mazzoleni
a30c93024a Manages the degenerated cases of empty or skipping all.
Some change in the check screen output.
2011-03-17 16:17:59 +01:00
Andrea Mazzoleni
543658640a Splits the force option in force-zero and force-empty 2011-03-17 15:57:11 +01:00
Andrea Mazzoleni
1720854353 Adds a check to prevent to zeroing a file as typical ext4 behaviour after a crash.
Changes the default block size from 128 to 256 kB.
Write the block size in the state file to prevent a mismatch value from the configuration.
2011-03-17 09:54:02 +01:00
Andrea Mazzoleni
b9b8fd0bb8 Adds filter exclusion.
Some refactoring.
2011-03-16 23:52:10 +01:00
Andrea Mazzoleni
496971e9c9 Address some portability issues 2011-03-12 10:09:59 +01:00
Andrea Mazzoleni
4bd4f9dd79 Add the fix command
Split in various files
Add --force switch
Add --start switch
2011-03-04 20:59:21 +01:00