-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathhelp.txt
36 lines (28 loc) · 1.01 KB
/
help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
hyperfs <command> [options]
create <volume>
create a new volume.
use --node=<snapshot> to create it from a snapshot node
the volume data will be stored in ./hyperfs
mount <volume> <mnt>
mount a new volume on <mnt>.
use ctrl-c to unmount
remove <volume>
remove a volume
list
list all volumes
exec <volume> <cmd>
execute a command inside a mounted volume.
forwards stdio and unmounts when the command ends
the volume will be mounted on ./hyperfs/mnt/<volume>
while the command is running
replicate <remote>
replicate all snapshots to a remote hyperfs.
- hyperfs replicate ./other-folder
- hyperfs replicate ssh://[email protected]:other-folder
- dupsh 'hyperfs replicate -' 'some-stream-to-remote'
snapshot <volume> --message 'friendly message'
snapshot a volume. will print the node hash when it succeeds
use this hash as the --node argument in create to create another
volume that looks like this one
nodes
print all snapshot nodes