diff --git a/include/sys/statfs.h b/include/sys/statfs.h index 5b6431a0a9..bf458b9be8 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -104,6 +104,8 @@ * Type Definitions ****************************************************************************/ +typedef struct fsid_s fsid_t; + struct statfs { uint32_t f_type; /* Type of filesystem (see definitions above) */ @@ -114,6 +116,7 @@ struct statfs fsblkcnt_t f_bavail; /* Free blocks avail to non-superuser */ fsfilcnt_t f_files; /* Total file nodes in the file system */ fsfilcnt_t f_ffree; /* Free file nodes in the file system */ + fsid_t f_fsid; /* Encode device type, not yet in use */ }; /**************************************************************************** diff --git a/include/sys/types.h b/include/sys/types.h index 5e35c4474b..2d77b54fdf 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -294,6 +294,11 @@ typedef uint24_t u_int24_t; typedef uint64_t u_int64_t; #endif +struct fsid_s +{ + int val[2]; +}; + /* Task entry point */ typedef CODE int (*main_t)(int argc, FAR char *argv[]);