OC-Tsuki/ksrc/fs/foxfs/init.lua

22 lines
406 B
Lua
Raw Normal View History

2020-06-02 16:23:58 +10:00
local fox = {}
do
--#include "ksrc/fs/foxfs/inode.lua"
--#include "ksrc/fs/foxfs/dir.lua"
--#include "ksrc/fs/foxfs/superblock.lua"
--#include "ksrc/fs/foxfs/blkstream.lua"
local prox = {}
function fox.proxy(dev)
-- Read the superblock
sb:seek("set", 1025)
local sb = superblock(dev:read(#superblock))
local prox = {
super = sb
}
end
local function fox_getinode(prox, inode)
end
end