mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 19:37:06 -05:00
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
This commit is contained in:
parent
3a5ce4e522
commit
8eafeafcb6
11 changed files with 204 additions and 227 deletions
10
TODO
10
TODO
|
|
@ -9,16 +9,6 @@ This is the list of TODO items for SnapRAID.
|
|||
But see: http://unix.stackexchange.com/questions/50177/birth-is-empty-on-ext4
|
||||
coreutils stat has an example, but it doesn't work in Linux (see lib/stat-time.h)
|
||||
|
||||
* Drop inode requirement ?
|
||||
To identify renamed file we can use the nanosecond modification time as alternative way.
|
||||
Like equality of:
|
||||
- size + inode + modification time in second
|
||||
OR
|
||||
- size + modification time in second + modification time in nanosecond (if different than 0)
|
||||
This will allow to run with mismatching inodes like in FUSE.
|
||||
The risk is to have a lot of nanosecond fields to 0. For example, CP doesn't copy it.
|
||||
But it doesn't seem a problem. In such cases you won't get the rename optimization.
|
||||
|
||||
* Add a way to list the content of the array. A new "list" command ?
|
||||
Something similar at "diff" and "dup".
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue