aboutsummaryrefslogtreecommitdiff
path: root/kernel/filesystem/include
diff options
context:
space:
mode:
authorLukas Oesch <lukasoesch20@gmail.com>2026-03-15 15:53:29 +0100
committerLukas Oesch <lukasoesch20@gmail.com>2026-03-17 16:43:04 +0100
commitace2d2178315d4b4ff1d969feed562a53d7a66c1 (patch)
tree989552b3818d22439efacefa5d0db6d447d7a1fe /kernel/filesystem/include
parente87963115bcdc0f0534bc2194bf3f7e3d3f3e2b6 (diff)
downloadteachos-ace2d2178315d4b4ff1d969feed562a53d7a66c1.tar.xz
teachos-ace2d2178315d4b4ff1d969feed562a53d7a66c1.zip
mount root filesystem
Diffstat (limited to 'kernel/filesystem/include')
-rw-r--r--kernel/filesystem/include/filesystem/vfs.hpp8
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