[Xfce-bugs] [Bug 16688] Freeze new copy where source or target device is shared with another running one

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon May 18 10:42:32 CEST 2020


--- Comment #17 from Cyrille Pontvieux <jrd at enialis.net> ---
Ok I made some tests (fuse mounts, USB disk mounts, PTP mounts, MTP mounts,
Samba mounts, and local files on different partitions).

`g_file_find_enclosing_mount` returns a non-NULL gmount only for attached
devices ; for local files it returns NULL.
Then a test on `g_mount_can_unmount` could be done. Of course
`thunar_file_is_local` should be done first.

I think by mixing all of these, the UX could be satisfactory. I will come with
a new commit today or tomorrow with this idea.

You are receiving this mail because:
You are the assignee for the bug.

More information about the Xfce-bugs mailing list