commit 8390abd4dfd9b05674098b988e1dac53230c5392 Author: t. Macleod Sawyer Date: Wed Feb 17 00:21:27 2021 -0600 Create onedrive.md diff --git a/onedrive.md b/onedrive.md new file mode 100644 index 0000000..31c85c3 --- /dev/null +++ b/onedrive.md @@ -0,0 +1,7 @@ +# OneDrive + +Rclone for virtual file system storage (cloud storage shouldn't download until you want them, in most cases). This is a startup script to unmount fuser on login (in case it didn't unmount properly on logout, shudown, or unexpected power loss) and then it instantiates the mount protocol for the virtual file system (vfs) with proper cacheing via Rclone. + +This solves the issue of "transport endpoint is not connected" as well due to the unmounting call. + +```sh -c "fusermount -uz ~/OneDrive; rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive"```'