New syscalls vfsavailmounts() and vfsmountstat() to get info about current VFS mountpoints
This commit is contained in:
15
share/sysdefs/vfs.h
Normal file
15
share/sysdefs/vfs.h
Normal 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_
|
||||
Reference in New Issue
Block a user