diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-27 19:06:14 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-27 19:06:14 -0400 |
commit | eb829b70db46ad86a1c85740f5ca02b7ba29ce4f (patch) | |
tree | 7e2241ae22991057ddf5c5470dcff1ce1f215658 /sys/kern/vfs_init.c | |
parent | bbd861c0cd4c26e2699392fec3ae0ec7df8ab145 (diff) |
kernel: Add initial support for tmpfs
Introduce the initial support for tmpfs, a readable and writable in-memory
filesystem.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r-- | sys/kern/vfs_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 8c1bc74..bc7f8b0 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -37,7 +37,8 @@ struct vnode *g_root_vnode = NULL; static struct fs_info fs_list[] = { {MOUNT_RAMFS, &g_initramfs_vfsops, 0, 0}, {MOUNT_DEVFS, &g_devfs_vfsops, 0, 0}, - {MOUNT_CTLFS, &g_ctlfs_vfsops, 0, 0} + {MOUNT_CTLFS, &g_ctlfs_vfsops, 0, 0}, + {MOUNT_TMPFS, &g_tmpfs_vfsops, 0, 0} }; void |