This commit is contained in:
2026-06-14 02:27:37 +03:00
parent 2ecb2298be
commit 5ef9eb1cb5
4 changed files with 254 additions and 176 deletions
+5
View File
@@ -178,6 +178,11 @@ local function processReq(req)
end
return "OK|" .. seqStr .. table.concat(names, "|")
elseif op == "STATFS" then
local total = sb.seg_size
local used = #fsSerialize()
return "OK|" .. seqStr .. total .. "|" .. used
elseif op == "CHDIR" then
local path = rest or "/"
local ino = findInodeByPath(path)