mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 15:36:31 -05:00
Spawn "mount" on branches when waiting for mounts enabled
This commit is contained in:
parent
23824eaeb4
commit
1b167d34d8
10 changed files with 2235 additions and 48 deletions
10
src/fs_mount.cpp
Normal file
10
src/fs_mount.cpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "fs_mount.hpp"
|
||||
|
||||
#include "subprocess.hpp"
|
||||
|
||||
|
||||
int
|
||||
fs::mount(const std::string &tgt_)
|
||||
{
|
||||
return subprocess::call({"mount",tgt_});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue