mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
remove longest common prefix from fsname. closes #38
This commit is contained in:
parent
90b0fcd5f5
commit
5dd072962b
3 changed files with 74 additions and 3 deletions
|
|
@ -133,7 +133,9 @@ set_fsname(struct fuse_args &args,
|
|||
{
|
||||
std::string fsname;
|
||||
|
||||
fsname = "-ofsname=" + str::join(config.srcmounts,':');
|
||||
fsname =
|
||||
"-ofsname=" +
|
||||
str::remove_common_prefix_and_join(config.srcmounts,':');
|
||||
|
||||
fuse_opt_insert_arg(&args,1,fsname.c_str());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue