Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gphotofs fails to mount properly #16

Open
zenaan opened this issue Dec 11, 2023 · 0 comments
Open

gphotofs fails to mount properly #16

zenaan opened this issue Dec 11, 2023 · 0 comments

Comments

@zenaan
Copy link

zenaan commented Dec 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant