diff options
author | dzwdz | 2022-08-08 13:12:41 +0200 |
---|---|---|
committer | dzwdz | 2022-08-08 13:12:41 +0200 |
commit | c7af8418c9a2222cde5ab3a6953b31803d0a8ef1 (patch) | |
tree | ce9b5f19cfd292eb4e70086cb061527f29a68bba /src/user/app/init | |
parent | 1252bdeaf795629ac34161bc59a263e998483247 (diff) |
user: union filesystems
Diffstat (limited to 'src/user/app/init')
-rw-r--r-- | src/user/app/init/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c index f011ca5..c788cb6 100644 --- a/src/user/app/init/init.c +++ b/src/user/app/init/init.c @@ -39,6 +39,10 @@ int main(void) { const char *argv[] = {"/bin/vterm", NULL}; execv(argv[0], (void*)argv); } + MOUNT_AT("/union/") { + const char *list[] = {"/tmp/", "/init/", NULL}; + fs_union(list); + } if (fork()) { /* used to trigger a kernel bug |