From c7af8418c9a2222cde5ab3a6953b31803d0a8ef1 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 8 Aug 2022 13:12:41 +0200 Subject: user: union filesystems --- src/user/app/init/init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/user/app/init') 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 -- cgit v1.2.3