I am using rclone
to mount a Google Drive using the --drive-acknowledge-abuse
flag to allow access to files that Google (mistakenly) thinks are spam or malware. This causes the string '{P2db0}' to be appended to the drive name returned by df --output=source
in recent versions of rclone.
Specifically, in older versions -- e.g., version v1.45 (on a RPi4 running Debian Buster) and v1.50.2 (on Ubuntu 18.04) ---- when I type df --output=source
, I get back the exact drive name that I used to mount my google drive -- both with and without the --drive acknowledge-abuse
flag
# usr/bin/rclone mount --allow-other --daemon my_drive_name: /home/me/gdrive
# df --output=source ~/gdrive
my_drive_name:
# usr/bin/rclone mount --allow-other --drive-acknowledge-abuse --daemon my_drive_name: /home/me/gdrive
# df --output=source ~/gdrive
my_drive_name:
But in v1.60.1-DEV (on Raspbery Pi5 and Pi0v2 running Bookworm), I get an extra {P2db0}
appended to the drive name when I use the flag:
# usr/bin/rclone mount --allow-other --daemon my_drive_name: /home/me/gdrive
# df --output=source ~/gdrive
my_drive_name:
# usr/bin/rclone mount --allow-other --drive-acknowledge-abuse --daemon my_drive_name: /home/me/gdrive
# df --output=source ~/gdrive
my_drive_name{P2db0}:
This causes several of my scripts to fail since they expect to see the drive name when they do a df --ouput=source
- Is this the expected and desired behavior? (I don't see it documented)
- Also is this the string that is always added or is it a random string that will differ from drive to drive?
- Is there any way to avoid having the string appended?