parent
d7b87fcb8e
commit
554ebe7206
@ -303,6 +303,7 @@ public:
|
|||||||
const string &dest = node_path();
|
const string &dest = node_path();
|
||||||
file_attr a;
|
file_attr a;
|
||||||
getattr(src.data(), &a);
|
getattr(src.data(), &a);
|
||||||
|
mkdir(dest.data(), 0);
|
||||||
xmount("tmpfs", dest.data(), "tmpfs", 0, nullptr);
|
xmount("tmpfs", dest.data(), "tmpfs", 0, nullptr);
|
||||||
VLOGI("mnt_tmp", "tmpfs", dest.data());
|
VLOGI("mnt_tmp", "tmpfs", dest.data());
|
||||||
setattr(dest.data(), &a);
|
setattr(dest.data(), &a);
|
||||||
|
Loading…
Reference in New Issue
Block a user