From 602d12afc567c059931ef36b43a48d2de6cc447e Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Sun, 26 Apr 2020 20:36:50 -0600 Subject: [PATCH] vfs bugfix --- sys/init/2.vfs.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/init/2.vfs.lua b/sys/init/2.vfs.lua index d624810..a19078a 100644 --- a/sys/init/2.vfs.lua +++ b/sys/init/2.vfs.lua @@ -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