From 8390abd4dfd9b05674098b988e1dac53230c5392 Mon Sep 17 00:00:00 2001 From: "t. Macleod Sawyer" Date: Wed, 17 Feb 2021 00:21:27 -0600 Subject: [PATCH] Create onedrive.md --- onedrive.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 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"```'