Austin Schuh | c979f7c | 2024-03-02 16:49:20 -0800 | [diff] [blame^] | 1 | namespace aos.util; |
| 2 | |
| 3 | table 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. |
| 19 | table FilesystemStatus { |
| 20 | filesystems: [Filesystem] (id: 0); |
| 21 | } |
| 22 | |
| 23 | root_type FilesystemStatus; |