diff --git a/config.toml b/config.toml index 324aec20..1f024458 100644 --- a/config.toml +++ b/config.toml @@ -85,8 +85,15 @@ min-free-space = 123 [[branches.tier]] [branches.tier.func.create] policy.default = 'mfs' - -func.open.policy = 'ff' +[[branches.tier.func.create.policy.overrides]] +dir = 'foo/bar' +policy = 'lus' +[[branches.tier.func.create.policy.overrides]] +dir = 'blah' +policy = 'xyz' + +[branches.tier.func.mkdir] +policy.default = 'mfs' [[branches.tier.branch]] enabled = true diff --git a/src/mergerfs.cpp b/src/mergerfs.cpp index bdfd7d98..7ca0eb7c 100644 --- a/src/mergerfs.cpp +++ b/src/mergerfs.cpp @@ -308,6 +308,8 @@ main(int argc_, std::cout << data["branches"] << '\n'; + + pause(); return 0;