Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
a4bc1e80d7
  1. 3
      src/fs_find_mount_point.cpp

3
src/fs_find_mount_point.cpp

@ -19,6 +19,9 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
rv = fs::lstat(tmp_path.parent_path(),&tmp_st);
if(rv == -1)
return {};
printf("%d %d\n",
tmp_st.st_dev,
initial_st.st_dev);
if(tmp_st.st_dev != initial_st.st_dev)
return tmp_path;

Loading…
Cancel
Save