feat: simple read/write lock implementation
[lunaix-os.git] / lunaix-os / kernel / k_init.c
index a82df947d16a40f6164508b60fb90f1ff75c0e52..fe9cf90a7393ff8347d9f516faea1f0e1f500f64 100644 (file)
@@ -78,12 +78,15 @@ _kernel_init()
     fsm_init();
     input_init();
 
+    vfs_export_attributes();
+
     if ((errno = vfs_mount_root("ramfs", NULL))) {
         panickf("Fail to mount root. (errno=%d)", errno);
     }
 
     vfs_mount("/dev", "devfs", NULL, 0);
     vfs_mount("/sys", "twifs", NULL, MNT_RO);
+    vfs_mount("/task", "taskfs", NULL, MNT_RO);
 
     lxconsole_init();