From f31e63d79d2a7a4a6f66bacb891af8bd6be00ea5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 17 Oct 2025 14:43:04 -0400 Subject: kern: fs: Add initial tmpfs implementation Supported VOPs as of now: - lookup() - create() - reclaim() Signed-off-by: Ian Moffett --- src/sys/include/sys/mount.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sys/include') diff --git a/src/sys/include/sys/mount.h b/src/sys/include/sys/mount.h index 4a190a4..5f6fa6b 100644 --- a/src/sys/include/sys/mount.h +++ b/src/sys/include/sys/mount.h @@ -42,6 +42,7 @@ */ #define MOUNT_INITRD "initrd" /* Initial ramdisk */ #define MOUNT_DEVFS "devfs" /* Device filesystem */ +#define MOUNT_TMPFS "tmpfs" /* Temporary filesystem */ /* * The mount system call @@ -66,6 +67,7 @@ struct mount; /* Filesystem vfsops */ extern struct vfsops g_omar_vfsops; extern struct vfsops g_devfs_vfsops; +extern struct vfsops g_tmpfs_vfsops; /* * Represents a mountpoint @@ -133,7 +135,6 @@ struct fs_info { */ #define FS_ATTR_IMAGE BIT(0) /* Is an image kind e.g., OSMORA OMAR */ - /* * VFS operations vector * -- cgit v1.2.3