feat: (iso9660) directory read support
[lunaix-os.git] / lunaix-os / kernel / k_init.c
index 53027c988e1c3dc50ce37b22ea4b9751c1eeb70a..6274dd8fa5e88e5a96efe87502a8cef5a5d1ffcc 100644 (file)
@@ -82,6 +82,8 @@ _kernel_init()
 
     vfs_export_attributes();
 
+    lxconsole_init();
+
     if ((errno = vfs_mount_root("ramfs", NULL))) {
         panickf("Fail to mount root. (errno=%d)", errno);
     }
@@ -90,7 +92,7 @@ _kernel_init()
     vfs_mount("/sys", "twifs", NULL, MNT_RO);
     vfs_mount("/task", "taskfs", NULL, MNT_RO);
 
-    lxconsole_init();
+    lxconsole_spawn_ttydev();
 
     syscall_install();