summaryrefslogtreecommitdiff
path: root/src/user/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app')
-rw-r--r--src/user/app/init/init.c11
-rw-r--r--src/user/app/shell/shell.c3
2 files changed, 11 insertions, 3 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c
index 61fb27b..ca50699 100644
--- a/src/user/app/init/init.c
+++ b/src/user/app/init/init.c
@@ -45,9 +45,14 @@ int main(void) {
MOUNT_AT("/") {
fs_dirinject2((const char*[]){
- "/fake/b/c",
- "/fake/c",
- "/faker",
+ "/keyboard/",
+ "/usr/",
+ "/bin/",
+ "/Users/",
+ "/tmp/",
+ "/vtty",
+ "/net/",
+ "/initctl",
NULL
});
}
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c
index e9293bc..65f08b6 100644
--- a/src/user/app/shell/shell.c
+++ b/src/user/app/shell/shell.c
@@ -41,6 +41,9 @@ void run_args(int argc, char **argv, struct redir *redir) {
fprintf(stderr, "mount: not enough arguments\n");
return;
}
+ MOUNT_AT("/") {
+ fs_dirinject(argv[1]);
+ }
MOUNT_AT(argv[1]) {
run_args(argc - 2, argv + 2, redir);
exit(1);