gvfs has an hard dependency on lsof(1), due to the code using it in just one place to lookup PIDS for programs preventing a removable disk unmount.
lsof(1) is a problematic port, often breaking on head. furthermore, gvfs is depended upon by many desktop environments and programs, causing lsoif to be nstalled on many machines, for just this single internal usage scenario.
We do have fuser(1) in base that provides the required functionality. This patch, also submitted upstream [1] allows us to shed this hard dependency, und use fuser(1) to get the list of pids.
I think this would be a big improvement for many users.
[1] https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/321