diff options
Diffstat (limited to 'src/user/app/init')
-rw-r--r-- | src/user/app/init/init.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c index 9528a28..61fb27b 100644 --- a/src/user/app/init/init.c +++ b/src/user/app/init/init.c @@ -43,6 +43,15 @@ int main(void) { freopen("/kdev/com1", "a+", stderr); printf("[init] stage 2, main at %p, teststr at %p\n", &main, teststr); + MOUNT_AT("/") { + fs_dirinject2((const char*[]){ + "/fake/b/c", + "/fake/c", + "/faker", + NULL + }); + } + MOUNT_AT("/keyboard") { MOUNT_AT("/") { fs_whitelist((const char*[]){"/kdev/ps2/kb", NULL}); } ps2_drv(); |