diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-15 15:53:29 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-17 16:43:04 +0100 |
| commit | ace2d2178315d4b4ff1d969feed562a53d7a66c1 (patch) | |
| tree | 989552b3818d22439efacefa5d0db6d447d7a1fe /kernel/filesystem/include | |
| parent | e87963115bcdc0f0534bc2194bf3f7e3d3f3e2b6 (diff) | |
| download | teachos-ace2d2178315d4b4ff1d969feed562a53d7a66c1.tar.xz teachos-ace2d2178315d4b4ff1d969feed562a53d7a66c1.zip | |
mount root filesystem
Diffstat (limited to 'kernel/filesystem/include')
| -rw-r--r-- | kernel/filesystem/include/filesystem/vfs.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/filesystem/include/filesystem/vfs.hpp b/kernel/filesystem/include/filesystem/vfs.hpp index 671128e..5998137 100644 --- a/kernel/filesystem/include/filesystem/vfs.hpp +++ b/kernel/filesystem/include/filesystem/vfs.hpp @@ -1,7 +1,12 @@ #ifndef TEACH_OS_KERNEL_FILESYSTEM_VFS_HPP #define TEACH_OS_KERNEL_FILESYSTEM_VFS_HPP +#include "filesystem/mount.hpp" + +#include <array> +#include <optional> #include <string_view> + namespace filesystem { struct vfs @@ -15,6 +20,9 @@ namespace filesystem private: vfs() = default; + + std::optional<mount> m_root_mount; + std::array<mount, 10> m_mounts; // TODO BA-FS26 remove when kstd::vector is available and used }; } // namespace filesystem |
