From 441c9322f96224d069ed49bbb2959ad6628c4b77 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 24 May 2020 01:06:37 -0400 Subject: [PATCH] nice --- extras/velxboot/init.lua | 3 +++ ksrc/acl.lua | 16 ++++++++++++++++ ksrc/blkdev.lua | 0 ksrc/fs/foxfs/init.lua | 6 ++++++ 4 files changed, 25 insertions(+) create mode 100644 extras/velxboot/init.lua create mode 100644 ksrc/blkdev.lua diff --git a/extras/velxboot/init.lua b/extras/velxboot/init.lua new file mode 100644 index 0000000..ef5f898 --- /dev/null +++ b/extras/velxboot/init.lua @@ -0,0 +1,3 @@ +for d in component.list("drive") do + +end \ No newline at end of file diff --git a/ksrc/acl.lua b/ksrc/acl.lua index e69de29..92eec56 100644 --- a/ksrc/acl.lua +++ b/ksrc/acl.lua @@ -0,0 +1,16 @@ +local acl = {} +do + local acl = struct({ + meta = "B", + id = "H", + permname = "B" + }) + + local function acl_readstream(stream) + + end + + function acl.read(stream) + + end +end \ No newline at end of file diff --git a/ksrc/blkdev.lua b/ksrc/blkdev.lua new file mode 100644 index 0000000..e69de29 diff --git a/ksrc/fs/foxfs/init.lua b/ksrc/fs/foxfs/init.lua index f753888..cd152f0 100644 --- a/ksrc/fs/foxfs/init.lua +++ b/ksrc/fs/foxfs/init.lua @@ -5,7 +5,13 @@ do --#include "ksrc/fs/foxfs/superblock.lua" --#include "ksrc/fs/foxfs/blkstream.lua" + local prox = {} + function fox.proxy(blkdev) -- Read the superblock end + + local function fox_getinode(prox, inode) + prox.dev:size() + end end \ No newline at end of file