Marks FUSE filesystem as with not persistent inodes,

disabling inode use in such case.
This commit is contained in:
Andrea Mazzoleni 2013-08-27 23:02:12 +02:00
parent 4fb96c0dec
commit e4e13a669b
8 changed files with 65 additions and 35 deletions

View file

@ -181,15 +181,11 @@ int devuuid(uint64_t device, char* uuid, size_t size);
*/
int filephy(const char* path, struct stat* st, uint64_t* physical);
/* Types of filesystem */
#define FSTYPE_UNKNOWN 0
#define FSTYPE_FUSE 1
/**
* Get the filesystem type.
* Returns -1 on error or one of the FSTYPE define.
* Checks if the underline filesystem support persistent inodes.
* Returns -1 on error, 0 on success.
*/
int fstype(const char* path);
int fsinfo(const char* path, int* has_persistent_inode);
/**
* Initializes the system.