summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
authordzwdz2022-06-29 23:07:21 +0200
committerdzwdz2022-06-29 23:07:21 +0200
commitbf4f2bb63ed01026b1078f5f7ebfc005bb4bf6d3 (patch)
tree4b1abbcff1db9589709470918b3e75a73ed30341 /src/init/main.c
parentbf4cbc830d78774ac00d9501c45e8b84d0ae9ae7 (diff)
init/fs: tmpfs driver with support for creating new files
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 198bd88..9afb2a7 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -23,6 +23,7 @@ int main(void) {
printf("preinit\n");
MOUNT("/init/", tar_driver(&_initrd));
+ MOUNT("/tmp/", tmpfs_drv());
MOUNT("/keyboard", ps2_drv());
MOUNT("/vga_tty", ansiterm_drv());