ArvernOS
Loading...
Searching...
No Matches
vfs.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
Include dependency graph for vfs.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  vfs_stat_t
 
struct  dirent_t
 
struct  vfs_driver_t
 
struct  vfs_node_t
 

Functions

inode_t vfs_make_directory (const char *name)
 

Detailed Description

Virtual File System (VFS) implementation based on Thomas Lovén's work on MITTOS64, released under the MIT license - Copyright (c) 2016 Thomas Lovén.

MITTOS64's implementation is very likely based on Thomas' previous work on VFS described in http://thomasloven.com/blog/2013/12/VFS-syscalls/.

Function Documentation

◆ vfs_make_directory()

inode_t vfs_make_directory ( const char * name)

This function creates a VFS directory, which has no driver and it is supposed to be used as a mountpoint. This function is not (yet?) designed to create directories in the different concrete FS implementations.

Parameters
namethe name of the directory to create
Returns
the inode that has been created