mount() now asks for the right addresses

This commit is contained in:
Izaya 2020-03-26 17:41:25 +11:00
parent cfe3e78d64
commit 9eec6bf193

View File

@ -87,6 +87,7 @@ function shutil.mount(addr,path)
if not addr then if not addr then
local mt = fs.mounts() local mt = fs.mounts()
for k,v in pairs(mt) do for k,v in pairs(mt) do
v = "/"..table.concat(fs.segments(v),"/")
print(tostring(fs.address(v)).." on "..tostring(v).." type "..fs.type(v)) print(tostring(fs.address(v)).." on "..tostring(v).." type "..fs.type(v))
end end
else else