v1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user