-
Notifications
You must be signed in to change notification settings - Fork 11
Description
gphotofs fails to mount:
-
Connect canon camera via usb
-
switch on camera
-
Gnome Files shows "Canon Digital Camera", mouse-over popup says:
"gphoto2://Canon_Inc._Canon_Digital_Camera_bf00619c05495f1d31cbbdbb292eeb10/" -
clicking in Files on the Canon... virtual mount, show DCIM/ and MISC/ as expected
-
now to use gphotofs to access via cmd line:
cd
mkdir camera
gphotofs camera -
journalctl shows this happened just after the gphotofs command was run (not entirely sure this is related, but pretty sure it is):
Dec 12 09:39:55 zen-L7 gnome-shell[1968]: Failed to query filesystem: method Gio.File.query_filesystem_info_async: At least 4 arguments required, but only 3 passed
ls camera/
------->> 20231212@09:34:10 <<-------
ls: reading directory 'camera/': Device or resource busy
-
clicking on the "camera/" virtual mount which did appear in Files, shows "Folder is Empty"
-
"Canon..." virtual mount still shows the expected contents
-
workaround: searching the /run/ found this:
/run/user/1000/gvfs/gphoto2:host=Canon_Inc._Canon_Digital_Camera_bf00619c05495f1d31cbbdbb292eeb10
which contains the folders and files in the camera.
Next bug, fusermount -u camera unmounts both mounts, not one
When I run the following command:
fusermount -u camera
-
BOTH the "camera" virtual mount created by gphotofs, AND the "Canon..." virtual mount created by Gnome vfs, are unmounted!!
-
Expected behaviour: ONLY the gphotofs mount should be unmounted - the one that I named on the command line.
-
Workaround: switch off and on, or reconnect, the camera. Gnome vfs mount reappears.