From 29a5bd5b3078c78340bbea81d638fc89be43ab6c Mon Sep 17 00:00:00 2001 From: "Daniel M. Drucker" Date: Mon, 28 Jan 2019 16:53:35 -0500 Subject: [PATCH] more accurate umount help message, for #815 --- cmd/restic/cmd_mount.go | 2 +- doc/050_restore.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/restic/cmd_mount.go b/cmd/restic/cmd_mount.go index 39ff1a144..69eea376e 100644 --- a/cmd/restic/cmd_mount.go +++ b/cmd/restic/cmd_mount.go @@ -149,7 +149,7 @@ func mount(opts MountOptions, gopts GlobalOptions, mountpoint string) error { } Printf("Now serving the repository at %s\n", mountpoint) - Printf("Don't forget to umount after quitting!\n") + Printf("When finished, quit with Ctrl-c or umount the mountpoint.\n") debug.Log("serving mount at %v", mountpoint) err = fs.Serve(c, root) diff --git a/doc/050_restore.rst b/doc/050_restore.rst index e602c7e8a..935b70a8d 100644 --- a/doc/050_restore.rst +++ b/doc/050_restore.rst @@ -65,7 +65,7 @@ command to serve the repository with FUSE: $ restic -r /srv/restic-repo mount /mnt/restic enter password for repository: Now serving /srv/restic-repo at /mnt/restic - Don't forget to umount after quitting! + When finished, quit with Ctrl-c or umount the mountpoint. Mounting repositories via FUSE is not possible on OpenBSD, Solaris/illumos and Windows. For Linux, the ``fuse`` kernel module needs to be loaded. For