diff options
Diffstat (limited to 'src/init')
-rw-r--r-- | src/init/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/init/main.c b/src/init/main.c index c81f789..233b92d 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -58,10 +58,19 @@ void fs_test(void) { } // parent: accesses the fs - log("\n"); + log("\n\n"); _syscall_mount(front, argify("/init")); read_file(argify("/init/fake.txt")); read_file(argify("/init/1.txt")); read_file(argify("/init/2.txt")); read_file(argify("/init/dir/3.txt")); + + log("\nshadowing /init/dir...\n"); + _syscall_mount(-1, argify("/init/dir")); + read_file(argify("/init/fake.txt")); + read_file(argify("/init/1.txt")); + read_file(argify("/init/2.txt")); + read_file(argify("/init/dir/3.txt")); + + log("\n"); } |