From 9187a4b899bc192d422a49176e17ad442969fcb9 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sat, 27 Jan 2024 00:45:00 -0600 Subject: [PATCH] mergerfs.cpp --- config.toml | 2 ++ src/mergerfs.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 08349848..650fcb87 100644 --- a/config.toml +++ b/config.toml @@ -116,6 +116,7 @@ func.open.policy = 'ff' [branches] min-free-space = 123 +# TIER 0 [[branches.tier]] [[branches.tier.branch]] name = 'branch0' @@ -133,6 +134,7 @@ path-type = 'literal' mode = 'RW' if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ? +# TIER 1 [[branches.tier]] [[branches.tier.branch]] name = 'branch0' diff --git a/src/mergerfs.cpp b/src/mergerfs.cpp index bff3e998..f8524e18 100644 --- a/src/mergerfs.cpp +++ b/src/mergerfs.cpp @@ -302,7 +302,7 @@ int main(int argc_, char **argv_) { - auto data = toml::parse("config.toml"); + auto data = toml::parse("config.toml"); std::cout << data["branches"] << '\n'; // Branches2 b(data["branches"]);