Commit graph

85 commits

Author SHA1 Message Date
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
Andrea Mazzoleni
b7bedc8b60 Reduces memory occupation with many files. 2013-02-26 21:26:45 +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
788001cc45 Removes all the access() uses. 2013-02-24 09:46:42 +01:00
Andrea Mazzoleni
452f88795f Removes the forward declaration of scan_link 2013-01-27 18:58:48 +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
8222c45ebb Fixes the suggested exclude rule for directory removing the ending double slash. 2013-01-19 17:26:55 +01:00
Andrea Mazzoleni
8204dfad6a Doesn't apply file filter rules to directory.
In Windows uses the information reported by FindFirstFile instead of calling lstat().
2013-01-18 00:15:55 +01:00
Andrea Mazzoleni
02f26ca9a1 Changes the exclude rules to be applied also to directories. 2012-11-04 00:46:16 +01:00
Andrea Mazzoleni
db6ff47062 Uses O_NOATIME if possible. 2012-11-03 23:57:12 +01: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
7c9bf5f5f2 When printing inodes ensure to use 64 bits conversion in case inode is 32 bit. 2012-10-08 19:20:03 +02:00
Andrea Mazzoleni
3c598b28cc Compiles with optional nanoseconds supports. 2012-09-19 21:52:15 +02:00
Andrea Mazzoleni
cdba43dea6 Fixes hard-links exclusion after the first one. 2012-08-19 17:07:56 +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
c8a1a12f6a Some comments about hardlink and attributes. 2012-06-20 22:38:53 +02:00
Andrea Mazzoleni
c692e83ae5 Prints the type of excluded files. 2012-04-11 22:03:14 +02:00
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