I am trying to use rclone in Recalbox OS on Rpi3. I cannot use my mounted games from remote source in Recalbox. I see those files in Recalbox Manager and also in Recalbox samba share and sftp connection, but "update game list" feature does not find any of these games. When I have those file in regular folder, there are visible and playable.
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
os/version: buildroot 2022.05.3-dirty
os/kernel: 5.15.45-v7 (armv7l)
os/type: linux
os/arch: arm
go/version: go1.19.4
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
FTP
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Hard to say how Recalbox handles file operations when searching for the games. Batocera does not have this problem, it means I am able to run my games from rclone mounted folders there.
I am using mount command like this: rclone mount ${rom[1]} /recalbox/share/roms/${rom[0]}/online --config=/recalbox/share/system/.config/rclone/rclone.conf --daemon --vfs-cache-mode full --no-checksum --no-modtime --attr-timeout 100h --dir-cache-time 100h --poll-interval 100h --allow-non-empty
The rclone config contents with secrets removed.
[archive]
type = internetarchive
access_key_id =
secret_access_key =
[myrient]
type = ftp
host = ftp.myrient.erista.me
tls = false
explicit_tls = true
pass = myUcMnWBKX9R-Gya--f8j0K26zYNvaWCqyqL
user = anonymous
That strace may be a problem cause it is a buildroot system that does not contain this tool.
Even rclone was copied to /usr/bin manually, cause the default installer did not work correctly (it was afraid of some zip bomb)
Permission will be also a problem. Recalbox use exfat filesystem for share partition (and does not allow to use other fs, it looks like it always tries to prepare or convert it), so I think the permissions does not affect it. --file-perms 777 did not help either.
Can you get a strace binary from else where? You can strace a running program with strace -p PID I think so you don't need to interfere with the startup.
I took a quick look but I couldn't work it out in 5 minutes. I got stuck in a twisty turn maze of C++. I think you'd be best asking on a user forum. The inotify thing may be the wrong direction completely.