diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-17 14:43:04 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-17 14:43:04 -0400 |
commit | f31e63d79d2a7a4a6f66bacb891af8bd6be00ea5 (patch) | |
tree | 05d2015e6bac5fc9b9721e663a821510df3c4792 /src/sys/include | |
parent | 8d592e845253f3e55deb7f899466ecce5b6cdfb1 (diff) |
kern: fs: Add initial tmpfs implementation
Supported VOPs as of now:
- lookup()
- create()
- reclaim()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include')
-rw-r--r-- | src/sys/include/sys/mount.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 * |