blob: 0571d15724ed82ba042fff2b215adc2afbd200ba [file] [log] [blame]
Austin Schuhc979f7c2024-03-02 16:49:20 -08001namespace aos.util;
2
3table Filesystem {
4 // Mountpoint of the filesystem in question.
5 path: string (id: 0);
6 // Type (e.g., "ext4") of the filesystem.
7 type: string (id: 1);
8 // Total size of the filesystem, in bytes.
9 overall_space: uint64 (id: 2);
10 // Total free space on the filesystem, in bytes.
11 free_space: uint64 (id: 3);
12 // Total number of inodes on this filesystem.
13 overall_inodes: uint64 (id: 4);
14 // Total free inodes on this filesystem.
15 free_inodes: uint64 (id: 5);
16}
17
18// Table to track the current state of a compute platform's filesystem.
19table FilesystemStatus {
20 filesystems: [Filesystem] (id: 0);
21}
22
23root_type FilesystemStatus;