ext2: readonly support

This commit is contained in:
Matheus
2023-07-23 14:13:02 -03:00
parent 568962929b
commit 28247888c5
2 changed files with 89 additions and 1 deletions
+2
View File
@@ -28,6 +28,7 @@
#include <kernel/pci.h>
#include <kernel/nvme.h>
#include <kernel/block.h>
#include <kernel/ext2.h>
static cpu_t bsp_cpu;
@@ -56,6 +57,7 @@ void kernel_entry() {
tmpfs_init();
devfs_init();
pipefs_init();
ext2_init();
printf("mounting tmpfs on /\n");
__assert(vfs_mount(NULL, vfsroot, "/", "tmpfs", NULL) == 0);
initrd_unpack();