mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 18:06:27 -05:00
rework config management
* Add standard way to do str2val and val2str conversion * Add support for a config file * Add support for reading and writing settings via ioctl
This commit is contained in:
parent
8d989777f8
commit
54c41c4994
90 changed files with 3292 additions and 2619 deletions
|
|
@ -25,7 +25,7 @@ namespace FUSE
|
|||
opendir(const char *fusepath_,
|
||||
fuse_file_info *ffi_)
|
||||
{
|
||||
const Config &config = Config::get();
|
||||
const Config &config = Config::ro();
|
||||
|
||||
ffi_->fh = reinterpret_cast<uint64_t>(new DirInfo(fusepath_));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue