GNOME Bugzilla – Bug 579644
Serialize mount operations in gvfsd
Last modified: 2018-09-21 16:43:54 UTC
Mounting should be serialized in gvfsd +++ This bug was initially created as a clone of Bug #579634 +++ When I plug in my camera, I get two autorun dialogs plus and error dialog. I can understand the two autorun dialogs, since there are two actual stores on the camera (see the attached gphoto2 --summary output), but the error dialog is kinda bad. It says: Unable to mount Kodak Co. Digital Camera Error initializing camera: -60: Could not lock the device So I assume what is happening is that gvfs is mounting the camera when it sees the first storage, and then when it tries to handle the second one, the camera is already mounted. Is there a way for the gphoto backend to notice that the camera is already mounted, and return an already-mounted error in this case ?
-- 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/91.