forked from TrueCloudLab/restic
Merge pull request 2153 from dmd/umount-message
more accurate umount help message, for #815
This commit is contained in:
commit
3f069ac404
2 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ func mount(opts MountOptions, gopts GlobalOptions, mountpoint string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
Printf("Now serving the repository at %s\n", mountpoint)
|
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)
|
debug.Log("serving mount at %v", mountpoint)
|
||||||
err = fs.Serve(c, root)
|
err = fs.Serve(c, root)
|
||||||
|
|
|
@ -69,7 +69,7 @@ command to serve the repository with FUSE:
|
||||||
$ restic -r /srv/restic-repo mount /mnt/restic
|
$ restic -r /srv/restic-repo mount /mnt/restic
|
||||||
enter password for repository:
|
enter password for repository:
|
||||||
Now serving /srv/restic-repo at /mnt/restic
|
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
|
Mounting repositories via FUSE is not possible on OpenBSD, Solaris/illumos
|
||||||
and Windows. For Linux, the ``fuse`` kernel module needs to be loaded. For
|
and Windows. For Linux, the ``fuse`` kernel module needs to be loaded. For
|
||||||
|
|
Loading…
Reference in a new issue