mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 17:36:26 -05:00
Marks FUSE filesystem as with not persistent inodes,
disabling inode use in such case.
This commit is contained in:
parent
4fb96c0dec
commit
e4e13a669b
8 changed files with 65 additions and 35 deletions
7
mingw.c
7
mingw.c
|
|
@ -1148,11 +1148,14 @@ int filephy(const char* file, struct stat* st, uint64_t* physical)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int fstype(const char* path)
|
||||
int fsinfo(const char* path, int* has_persistent_inode)
|
||||
{
|
||||
(void)path;
|
||||
|
||||
return FSTYPE_UNKNOWN;
|
||||
/* all FAT/exFAT/NTFS when managed from Windows have persistent inodes */
|
||||
*has_persistent_inode = 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#undef strerror
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue