diff options
author | dzwdz | 2021-11-26 20:51:28 +0100 |
---|---|---|
committer | dzwdz | 2021-11-26 20:51:28 +0100 |
commit | a67f2a127afd5ecdfd76b4b02f02d5a84597adba (patch) | |
tree | 33e9eed3bbf39f58206c5c4081eff149fbd6cb37 /src/init/main.c | |
parent | 54bb6ae93e92c7ed93e6ae8aa10a136b350e7b72 (diff) |
init/fs: implement directory injection
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c index d19b1e5..b723c7b 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -51,4 +51,8 @@ void fs_prep(void) { if (!fork2_n_mount("/3nd")) fs_passthru("/init"); + + if (!fork2_n_mount("/")) + fs_dir_inject("/test/dir/"); + } |