mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
vfs filesystem mounting
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user