GNOME Bugzilla – Bug 613017
mount-pre-unmount not being emitted when before unmounting
Last modified: 2018-09-21 17:02:55 UTC
I have gvfs 1.5.5 and can't get smb://, sftp://, etc. locations to emit a mount-pre-unmount signal. I'm using the test program from https://bugzilla.gnome.org/show_bug.cgi?id=576083 to test this out. I found this bug when looking into a Nautilus problem, as gvfs locations were completing their mount callbacks before the mount_removed callback happened (it should be called on pre-unmount as well).
(In reply to comment #0) > I have gvfs 1.5.5 and can't get smb://, sftp://, etc. locations to emit a > mount-pre-unmount signal. I'm using the test program from > https://bugzilla.gnome.org/show_bug.cgi?id=576083 to test this out. I found > this bug when looking into a Nautilus problem, as gvfs locations were > completing their mount callbacks before the mount_removed callback happened (it > should be called on pre-unmount as well). If it's problem with smb://, fftp://, etc., then it's not the "gdu volume monitor" component....
Ok. So the daemon handles the unmounting of these sorts of protocols? Is it the part that would emit the mount-pre-unmount signal?
Yes, gvfsd needs to send a pre-unmount signal to all active GDaemonVolumeMonitors.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/143.