mirror of
https://github.com/octoleo/restic.git
synced 2024-12-31 22:11:52 +00:00
mount: Improve usage information when mounted
This commit is contained in:
parent
829c0a67af
commit
711ceb0109
@ -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 New Issue
Block a user