mirror of
https://github.com/restic/restic.git
synced 2024-12-25 09:18:55 +00:00
Merge pull request #3562 from restic/rawtaz-mount-usage
mount: Improve usage information when mounted
This commit is contained in:
commit
a34bfa8269
2 changed files with 4 additions and 2 deletions
|
@ -162,7 +162,8 @@ func runMount(opts MountOptions, gopts GlobalOptions, args []string) error {
|
||||||
root := fuse.NewRoot(repo, cfg)
|
root := fuse.NewRoot(repo, cfg)
|
||||||
|
|
||||||
Printf("Now serving the repository at %s\n", mountpoint)
|
Printf("Now serving the repository at %s\n", mountpoint)
|
||||||
Printf("When finished, quit with Ctrl-c or umount the mountpoint.\n")
|
Printf("Use another terminal or tool to browse the contents of this folder.\n")
|
||||||
|
Printf("When finished, quit with Ctrl-c here 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,8 @@ 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
|
||||||
When finished, quit with Ctrl-c or umount the mountpoint.
|
Use another terminal or tool to browse the contents of this folder.
|
||||||
|
When finished, quit with Ctrl-c here or umount the mountpoint.
|
||||||
|
|
||||||
Mounting repositories via FUSE is only possible on Linux, macOS and FreeBSD.
|
Mounting repositories via FUSE is only possible on Linux, macOS and FreeBSD.
|
||||||
On Linux, the ``fuse`` kernel module needs to be loaded and the ``fusermount``
|
On Linux, the ``fuse`` kernel module needs to be loaded and the ``fusermount``
|
||||||
|
|
Loading…
Reference in a new issue