Venti/write reads data from standard input and writes it as a single block to venti. The type is 13 (for data) by default, but can be changed with -t.
Venti/sync sends a sync messages to a venti server. When it returns, the venti server has flushed its data to stable storage.
Venti/ping pings a venti server. Option -n sets the number of ping messages to send. The round trip time for each message is printed.
Venti/put reads data from standard input and writes it to venti as a hash tree, thus large amounts of data can be written. When done, the score of the resulting venti entry is printed.
Venti/get reads the data from the venti entry referenced by score and writes it to standard output.
Venti/copy copies the file tree referenced by tag:score from srcaddr to dstaddr. Tag can be either vac or entry.
Venti/stream is like venti/copy, but keeps up to 256 outstanding requests to srcaddr and dstaddr to get reasonable throughput on high-latency connections.
Venti/parse parses and prints the data structure it reads from standard input. Type is one of: root,entry,entries,direntry,metablock,metablocks,pointers,rpointers. For the types root, entry and entries the command to descend further down the tree is printed. If the type is missing it is guessed based on its contents.
The options:
VENTI(1 ) | Rev: Wed Feb 22 04:14:06 GMT 2023 |