-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delte a file , delete more than once #1102
Comments
I'm sorry but I don't know what you're talking about. |
ok , so i create 2 files " txt.txt " in each mount point :
now in the mergerfs pool ( /Vidéos ) , i put the file " txt.txt " in the trash ( only one file ) , and result is :
two different files with same name are put in the trash and deleted , on in each mountpoint . |
see what i have in trash : https://zupimages.net/up/22/47/phyn.png
tested multiple times , each test give same result in my case , even if files have same name , but not identical . |
The freedesktop trash standard works in a specific way. I don't know if that can be done without breaking it or very carefully tweaking behavior of everything happening in .Trash. And it's not that simple... I can't not rename something to the target. |
https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html Yeah. File names can be made unique but then custom .trashinfo files would have to be created. "trashing" a file is a custom combination of behaviors. All done slightly differently depending on the app doing the trashing. Only thing I can think of is trying to notice a move to |
In your example, are the txt.txt files in the same path relative to the mergerFS folder fuse mountpoint thing, or in completely different paths on each disk? |
Same relative path. That's the only way it makes any sense. |
Describe the bug
assume that i got 2 files with same name on mount1 and mount2 , if i put one of them in the trash , the two files are deleted .
The master branch is not to be considered production ready. Feel free to file bug reports but do so indicating clearly that you are testing unreleased code.
To Reproduce
create 2 files on two mount points and delete only one . the 2 are deleted .
Expected behavior
it would be wondefull if , in the case of , there are 2 files with same name , to rename them with mountpoint .
exemple : file_name_mountpoint1 and file_name_mountpoint2
so we can delete only one , or the 2 files if necessary .
System information:
OS, kernel version: `Linux iznobe-PC 5.15.0-53-generic set FUSE
subtype
option #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linuxmergerfs version:
iznobe@iznobe-PC:~$ mergerfs -V mergerfs version: 2.33.5-14-g83d7886 iznobe@iznobe-PC:~$
mergerfs settings
List of drives, filesystems, & sizes:
The text was updated successfully, but these errors were encountered: