mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 01:46:32 -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
9
elem.h
9
elem.h
|
|
@ -196,6 +196,15 @@ struct snapraid_block {
|
|||
#define FILE_IS_JUNCTION 0x800 /**< If it's a junction for Windows. Not yet supported. */
|
||||
#define FILE_IS_LINK_MASK 0xF00 /**< Mask for link type. */
|
||||
|
||||
/**
|
||||
* If the file is without inode.
|
||||
* It could happen in filesystem where inodes are not persistent,
|
||||
* or when restoring a full disk with "fix".
|
||||
* In such cases we have to clear any stored duplicate inode.
|
||||
* After the scan process completes, no file should have this flag set.
|
||||
*/
|
||||
#define FILE_IS_WITHOUT_INODE 0x1000
|
||||
|
||||
/**
|
||||
* File.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue