working vfs

hardcoded structure with support for
- mount
- list directory
- read a file
This commit is contained in:
2024-10-29 13:01:19 +07:00
commit 85951ee78f
3 changed files with 288 additions and 0 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
obj-m += voidfs.o
all: voidfs
voidfs:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean