I'm building an automated lab test bench that will need to record a movie every few hours.
When I power cycle our Canon M50/R50 it auto mounts on Ubuntu (20.04) as a gvfs volume. I can manually unmount it and gPhoto2 works well, but if anyone ever power cycles or restarts the system someone will need to go in and re-do this. I know experiments will fail...
I have disabled auto mount by:
cd /usr/libexecsudo mv gvfsd-gphoto2 gvfsd-gphoto2_bkp
but this seems very dirty and will probably cause nightmares when replicating our system.
Ideally, I would like to call something like before launching my acquisition script:
gphoto2 --unmount=Canon M50
or:
gio mount -s <something>
Any help in finding the right way to unmount?
I've tried mount, gio, gvfs-* and no dice.
I'm building an automated lab test bench that will need to record a movie every few hours.
When I power cycle our Canon M50/R50 it auto mounts on Ubuntu (20.04) as a gvfs volume. I can manually unmount it and gPhoto2 works well, but if anyone ever power cycles or restarts the system someone will need to go in and re-do this. I know experiments will fail...
I have disabled auto mount by:
cd /usr/libexec
sudo mv gvfsd-gphoto2 gvfsd-gphoto2_bkp
but this seems very dirty and will probably cause nightmares when replicating our system.Ideally, I would like to call something like before launching my acquisition script:
gphoto2 --unmount=Canon M50
or:gio mount -s <something>
Any help in finding the right way to unmount? I've tried
mount
,gio
,gvfs-*
and no dice.