1
0
mirror of https://github.com/kepler155c/opus synced 2024-12-29 10:00:26 +00:00

vfs bugfix

This commit is contained in:
kepler155c@gmail.com 2020-04-26 20:36:50 -06:00
parent ef9f0e09b6
commit 602d12afc5

View File

@ -279,6 +279,9 @@ function fs.mount(path, fstype, ...)
end
if not tp.nodes[d] then
tp.nodes[d] = Util.shallowCopy(tp)
if tp.fstype == 'linkfs' then
tp.nodes[d].source = fs.combine(tp.nodes[d].source, d)
end
tp.nodes[d].nodes = { }
tp.nodes[d].mountPoint = fs.combine(tp.mountPoint, d)
end