The FUSE module will never provide anything as good and reliable as a local filesystem. See the bug tracker for issues that may occur.
acd_cli’s FUSE module has the following filesystem features implemented:
|OS-level trashing||✓ |
|Hard links||partially |
|Symbolic links||❌ |
|||partial writes are not possible (i.e. writes at random offsets)|
|||restoring might not work|
|||manually created hard links will be displayed, but it is discouraged to use them|
|||soft links are not part of the ACD API|
The command to mount the (root of the) Amazon Drive to the empty directory
acd_cli -nl mount path/to/mountpoint
A non-root folder may be mounted similarly, by
acd_cli -nl mount --modules="subdir,subdir=/folder" path/to/mountpoint
Unmounting is usually achieved by the following command
fusermount -u path/to/mountpoint
If the mount is busy, Linux users can use the
There exists a convenience action
acd_cli umount that unmounts all ACDFuse mounts on
Linux and Mac OS.
Changes made to your Amazon Drive not using acd_cli will no longer be synchronized
automatically. See the
--interval option below to re-enable automatic synchronization.
Using acd_cli’s CLI commands (e.g. upload or sync) while having the drive mounted may lead to errors or corruption of the node cache.
For further information on the most of the options below, see your mount.fuse(8) man page.
To convert the node’s standard character set (UTF-8) to the system locale, the modules argument
may be used, e.g.
|allow all users to access the mountpoint (may need extra configuration)|
|allow the root user to access the mountpoint (may need extra configuration)|
|do not detach process until filesystem is destroyed (blocks)|
|--gid GID||override the group ID (defaults to the user’s gid)|
|--interval INT, -i INT|
|set the node cache sync (refresh) interval to INT seconds|
|--nlinks, -n||calculate the number of links for folders (slower)|
|allow mounting to a non-empty mount point|
|disallow write operations (does not affect cache refresh)|
|disallow multi-threaded FUSE operations|
|--uid UID||override the user ID (defaults to the user’s uid)|
|--umask UMASK||override the standard permission bits|
It is advisable to wait until your network connection is up before you try to run the mount command.
Linux users may use the systemd service file from the assets directory
to have the drive automatically remounted on login.
Alternative ways are to add a crontab entry using the
@reboot keyword or to add an
fstab entry like so:
acdmount /mount/point fuse _netdev 0 0
For this to work, an executable shell script /usr/bin/acdmount must be created
#!/bin/bash acd_cli mount -nl $1
If you want or need to override the standard libfuse path, you may set the environment variable LIBFUSE_PATH to the full path of libfuse, e.g.
This is particularly helpful if the libfuse library is properly installed, but not found.
“Deleting” directories or files from the file system will in reality trash them in Amazon Drive.
rmdir on a directory will always move it into the trash, even if it is not empty.
For debugging purposes, the recommended command to run is
acd_cli -d -nl mount -i0 -fg path/to/mountpoint
That command will disable the automatic refresh (i.e. sync) of the node cache (-i0) and disable detaching from the console.