vfs filesystem mounting

This commit is contained in:
Matheus
2022-08-02 22:14:32 -03:00
parent 8d90e27f15
commit 2419b2e9e0
6 changed files with 155 additions and 29 deletions
+5
View File
@@ -49,6 +49,11 @@ void kmain(){
alloc_init();
vfs_init();
printf("Mounting tmpfs in /\n");
if(vfs_mount(vfs_root(), NULL, "", "tmpfs", 0, NULL))
_panic("Failed to mount tmpfs", 0);
_panic("End of kmain()", 0);