struct Vfs {
struct VfsMount mounts[VFS_MAX_MOUNTS];
int mount_count;
}Fields
Methods
Mount fs at mountpoint (e.g. "/" or "/tmp"). 0 on success, -1 if
every mount slot is taken. fs must outlive the mount.
Read-only: write, unlink and mkdir through this mount fail.
Unmount filesystem at mountpoint.
Open path; fills node_out. Returns 0 on success.
Remove a file.
Create a directory.