diff --git a/fs/mount/fs_gettype.c b/fs/mount/fs_gettype.c index ff01f781830..1b97aca7d32 100644 --- a/fs/mount/fs_gettype.c +++ b/fs/mount/fs_gettype.c @@ -149,6 +149,12 @@ FAR const char *fs_gettype(FAR struct statfs *statbuf) break; #endif +#ifdef CONFIG_FS_XIPFS + case XIPFS_MAGIC: + fstype = "xipfs"; + break; +#endif + #ifdef CONFIG_FS_ZIPFS case ZIPFS_MAGIC: fstype = "zipfs"; diff --git a/include/sys/statfs.h b/include/sys/statfs.h index a47a7be2970..95450706987 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -98,6 +98,7 @@ #define CROMFS_MAGIC 0x4d4f5243 #define RPMSGFS_MAGIC 0x54534f47 #define ZIPFS_MAGIC 0x504b +#define XIPFS_MAGIC 0x58495046 #define V9FS_MAGIC 0x01021997 #if defined(CONFIG_FS_LARGEFILE)