我尝试rclone mount
在 Heroku dyno 中使用,但它似乎不起作用,因为没有fusermount
. 我发现了这个,一个heroku的保险丝构建包,它也不起作用。
我进入 dyno's bash
by heroku run bash
,并输入了这些命令
# These commands came from: https://github.com/kenshin23/heroku-fuse-buildpack/blob/master/bin/compile
wget https://raw.githubusercontent.com/kenshin23/fuse-lib/master/fuse_2.9.2.tar.gz
mkdir -p vendor/fuse
tar -C vendor/fuse -xvf fuse_2.9.2.tar.gz
# These commands came from: https://github.com/kenshin23/heroku-fuse-buildpack/blob/master/bin/compile
PATH="$PATH:/app/vendor/fuse/bin"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/app/vendor/fuse/lib"
rclone mount DRIVE:/foo bar # Assuming rclone is properly configured
而且我只从以下位置收到这些错误消息rclone mount
:
2020/01/02 10:18:49 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first
2020/01/02 10:18:49 Fatal error: failed to mount FUSE fs: fusermount: exit status 1