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

22 lines
406 B
Lua
Raw Normal View History

2020-05-09 13:51:05 +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"
2020-05-24 15:06:37 +10:00
local prox = {}
2020-06-02 16:14:26 +10:00
function fox.proxy(dev)
2020-05-09 13:51:05 +10:00
-- Read the superblock
2020-06-02 16:14:26 +10:00
sb:seek("set", 1025)
local sb = superblock(dev:read(#superblock))
local prox = {
super = sb
}
2020-05-09 13:51:05 +10:00
end
2020-05-24 15:06:37 +10:00
local function fox_getinode(prox, inode)
2020-06-02 16:14:26 +10:00
2020-05-24 15:06:37 +10:00
end
2020-05-09 13:51:05 +10:00
end