New syscalls vfsavailmounts() and vfsmountstat() to get info about current VFS mountpoints

This commit is contained in:
2025-11-04 00:24:58 +01:00
parent 9612e7961e
commit 88ac5cf877
5 changed files with 79 additions and 0 deletions

15
share/sysdefs/vfs.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef SHARE_SYSDEFS_VFS_H_
#define SHARE_SYSDEFS_VFS_H_
typedef struct {
char label[128];
int32_t fstype;
char devname[0x100];
} VfsMountStat;
typedef struct {
char labels[30][128];
uint8_t fieldavail[30];
} VfsAvailMounts;
#endif // SHARE_SYSDEFS_VFS_H_