diff --git a/src/mergerfs_api.cpp b/src/mergerfs_api.cpp index 5c29124b..91ef1014 100644 --- a/src/mergerfs_api.cpp +++ b/src/mergerfs_api.cpp @@ -58,7 +58,14 @@ std::string get_kv(const fs::path &mountpoint_, const std::string &key_) { + std::string val; + fs::path cfgfile; + + cfgfile = ::_mergerfs_config_file(mountpoint_); + + fs::xattr::get(cfgfile,key_); + return val; } int