aboutsummaryrefslogtreecommitdiff
path: root/man/man1/venti.1
diff options
context:
space:
mode:
authorVenkatesh Srinivas <extrudedaluminiu@gmail.com>2009-08-21 15:55:56 -0400
committerVenkatesh Srinivas <extrudedaluminiu@gmail.com>2009-08-21 15:55:56 -0400
commitda0a205ed60d81a85e1c71e0f31571337ba390a5 (patch)
treeceda3aee15492c1b22f3300735bed2a5fceb36e8 /man/man1/venti.1
parentc0cc7cc4da05b5e0c20937a2e1097d4ec200b996 (diff)
downloadplan9port-da0a205ed60d81a85e1c71e0f31571337ba390a5.tar.gz
plan9port-da0a205ed60d81a85e1c71e0f31571337ba390a5.tar.bz2
plan9port-da0a205ed60d81a85e1c71e0f31571337ba390a5.zip
venti/copy: synchronize with Plan 9; indent in verbose mode
http://codereview.appspot.com/110062
Diffstat (limited to 'man/man1/venti.1')
-rw-r--r--man/man1/venti.139
1 files changed, 34 insertions, 5 deletions
diff --git a/man/man1/venti.1 b/man/man1/venti.1
index 12d664f4..cf160091 100644
--- a/man/man1/venti.1
+++ b/man/man1/venti.1
@@ -28,7 +28,7 @@ read, write, copy \- simple Venti clients
.br
.B venti/copy
[
-.B -fir
+.B -fimrVv
]
[
.B -t
@@ -99,14 +99,35 @@ the root block from the server
to the server
.IR dsthost .
.PP
+Venti's blocks are arranged in a directed acyclic graph (see venti(6));
+there may be multiple paths from a root score to an
+interior block (for example, if the same file contents are stored
+under multiple names in an archive).
+.I Copy
+runs more efficiently if it does not copy blocks
+(and all their children) multiple times.
The
.B -f
option causes
.I copy
-to run in `fast' mode,
-assuming that if a block already exists on the
-destination Venti server, all its children also
-exist and need not be checked.
+to assume that if a block already exists on the destination
+Venti server, all its children also exist and need not be considered.
+The
+.B -m
+option causes
+.I copy
+to maintain an in-memory list of blocks it has copied
+and avoid considering the same block multiple times.
+The
+.B -f
+option is only useful if the destination Venti server is
+known not to have lost any blocks due to disk corruption
+or other failures.
+The
+.B -m
+option is only useful if enough memory is available to
+hold the block list, which typically requires about 1%
+of the total number of bytes being copied.
.PP
The
.B -i
@@ -135,6 +156,14 @@ option is given,
replaces pointers to unreadable blocks with
pointers to the zero block.
It writes the new root score to standard output.
+The
+.B -v
+option prints scores as it copies them, total writes, and other
+debugging information.
+The
+.B -V
+option prints debugging information about the Venti protocol
+messages send/received.
.SH SOURCE
.B \*9/src/cmd/venti
.SH SEE ALSO