Commit 554ebe72 authored by topjohnwu's avatar topjohnwu

Skel dest could not exist

Close #2713
parent d7b87fcb
......@@ -303,6 +303,7 @@ public:
const string &dest = node_path();
file_attr a;
getattr(src.data(), &a);
mkdir(dest.data(), 0);
xmount("tmpfs", dest.data(), "tmpfs", 0, nullptr);
VLOGI("mnt_tmp", "tmpfs", dest.data());
setattr(dest.data(), &a);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment