diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-27 18:01:35 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-27 18:01:35 -0400 |
commit | 0487527441dff0c16d206bdf1747daa625b7597d (patch) | |
tree | 500efce2b3405636133fb6278fd07c7249972fd5 /src/sys/os | |
parent | f933a2b93b8887e7104b15df85c6a8a3ed99df69 (diff) |
kern: fs: Add initial devfs implementation
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/os')
-rw-r--r-- | src/sys/os/Makefile | 1 | ||||
-rw-r--r-- | src/sys/os/vfs_init.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/sys/os/Makefile b/src/sys/os/Makefile index de73afd..da481ec 100644 --- a/src/sys/os/Makefile +++ b/src/sys/os/Makefile @@ -12,6 +12,7 @@ CFILES += $(shell find ../lib -name "*.c") CFILES += $(shell find ../io -name "*.c") CFILES += $(shell find ../acpi -name "*.c") CFILES += $(shell find ../compat -name "*.c") +CFILES += $(shell find ../fs -name "*.c") DEPS = $(CFILES:.c=.d) OBJECTS = $(CFILES:%.c=%.o) diff --git a/src/sys/os/vfs_init.c b/src/sys/os/vfs_init.c index 92d7b94..80d8559 100644 --- a/src/sys/os/vfs_init.c +++ b/src/sys/os/vfs_init.c @@ -38,7 +38,8 @@ * The filesystem table */ static struct fs_info fstab[] = { - { MOUNT_INITRD, &g_omar_vfsops, 0 } + { MOUNT_INITRD, &g_omar_vfsops, 0 }, + { MOUNT_DEVFS, &g_devfs_vfops, 0 } }; /* |