Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: restore missing mount --daemon docs

Nick Craig-Wooda54210a2e4a4
diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.go
index ed014a2f1..78479a79f 100644
--- a/cmd/mountlib/mount.go
+++ b/cmd/mountlib/mount.go
@@ -109,6 +109,11 @@ FUSE.
First set up your remote using ` + "`rclone config`" + `. Check it works with ` + "`rclone ls`" + ` etc.
+You can either run mount in foreground mode or background(daemon) mode. Mount runs in
+foreground mode by default, use the --daemon flag to specify background mode mode.
+Background mode is only supported on Linux and OSX, you can only run mount in
+foreground mode on Windows.
+
Start the mount like this
rclone ` + commandName + ` remote:path/to/files /path/to/local/mount
@@ -117,11 +122,15 @@ Or on Windows like this where X: is an unused drive letter
rclone ` + commandName + ` remote:path/to/files X:
-When the program ends, either via Ctrl+C or receiving a SIGINT or SIGTERM signal,
-the mount is automatically stopped.
+When running in background mode the user will have to stop the mount manually (specified below).
+
+When the program ends while in foreground mode, either via Ctrl+C or receiving
+a SIGINT or SIGTERM signal, the mount is automatically stopped.
The umount operation can fail, for example when the mountpoint is busy.
-When that happens, it is the user's responsibility to stop the mount manually with
+When that happens, it is the user's responsibility to stop the mount manually.
+
+Stopping the mount manually:
# Linux
fusermount -u /path/to/local/mount
diff --git a/docs/content/commands/rclone_mount.md b/docs/content/commands/rclone_mount.md
index 0a5a253c8..8e6c922e5 100644
--- a/docs/content/commands/rclone_mount.md
+++ b/docs/content/commands/rclone_mount.md
@@ -1,5 +1,5 @@
---
-date: 2020-02-10T14:59:49Z
+date: 2020-02-10T15:20:27Z
title: "rclone mount"
slug: rclone_mount
url: /commands/rclone_mount/
@@ -18,6 +18,11 @@ FUSE.
First set up your remote using `rclone config`. Check it works with `rclone ls` etc.
+You can either run mount in foreground mode or background(daemon) mode. Mount runs in
+foreground mode by default, use the --daemon flag to specify background mode mode.
+Background mode is only supported on Linux and OSX, you can only run mount in
+foreground mode on Windows.
+
Start the mount like this
rclone mount remote:path/to/files /path/to/local/mount
@@ -26,11 +31,15 @@ Or on Windows like this where X: is an unused drive letter
rclone mount remote:path/to/files X:
-When the program ends, either via Ctrl+C or receiving a SIGINT or SIGTERM signal,
-the mount is automatically stopped.
+When running in background mode the user will have to stop the mount manually (specified below).
+
+When the program ends while in foreground mode, either via Ctrl+C or receiving
+a SIGINT or SIGTERM signal, the mount is automatically stopped.
The umount operation can fail, for example when the mountpoint is busy.
-When that happens, it is the user's responsibility to stop the mount manually with
+When that happens, it is the user's responsibility to stop the mount manually.
+
+Stopping the mount manually:
# Linux
fusermount -u /path/to/local/mount