From 594655afcde54e9ca634c175d9bb140a09fdf761 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sat, 3 Feb 2024 19:43:23 -0600 Subject: [PATCH] mergerfs.cpp --- config.toml | 11 +++++++++-- src/mergerfs.cpp | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) 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;