yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link

A lot of writes to the drive containing / and the mount point when copying a file #525

Closed inquam closed 7 years ago

inquam commented 7 years ago

Not actually an issue as much as a question. If I mount the Amazon drive and copy a file to it. Will the file get streamed or will it be written locally first and then transferred? I tried copying a file of a few GB and using nmon I saw a lot of activity on my system drive containing / which is an SSD. I'd like to avoid that. If this is actually happening and is not some anomaly due to the Amazon drive beeing located under /mnt/amazon, is there any way to choose the path of where to temporarily store the file?

yadayada commented 7 years ago

The data is streamed to Amazon Drive.

Which command did you use to mount?

inquam commented 7 years ago

acdmount /mnt/amazon fuse _netdev 0 0

in fstab

Might have been some other process that just happened to write at the same time that confused me then. Does this support resuming uploads of a file, appending to file etc?

inquam commented 7 years ago

p.s.

Also, there seems to be an error in the documentation. https://acd-cli.readthedocs.io/en/latest/FUSE.html#automatic-remount

It claims the needed script for the mount to work is

#!/bin/bash

acd_cli mount -nl $1

I think it should be

#!/bin/bash

acd_cli -nl mount $1

Otherwise I get an error when trying to mount