mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-07-10 18:39:39 +08:00
fs_find_mount_point.cpp
This commit is contained in:
@ -13,6 +13,8 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
|||||||
ghc::filesystem::path tmp_path;
|
ghc::filesystem::path tmp_path;
|
||||||
|
|
||||||
can_path = ghc::filesystem::weakly_canonical(path_,ec);
|
can_path = ghc::filesystem::weakly_canonical(path_,ec);
|
||||||
|
printf("%s\n",
|
||||||
|
can_path.root_path().string().c_str());
|
||||||
|
|
||||||
rv = fs::lstat(can_path,&initial_st);
|
rv = fs::lstat(can_path,&initial_st);
|
||||||
if(rv == -1)
|
if(rv == -1)
|
||||||
|
Reference in New Issue
Block a user