man: import fixes from plan 9 (0intro@gmail.com)

R=rsc
http://codereview.appspot.com/4519049
This commit is contained in:
Russ Cox 2011-05-10 13:45:19 -04:00
parent 333482548d
commit a7f1ab2973
3 changed files with 20 additions and 11 deletions

View file

@ -105,7 +105,7 @@ of 512 bytes to 52k.
Reduce the number of blocks written to Venti by comparing the files to be stored with Reduce the number of blocks written to Venti by comparing the files to be stored with
the contents of an existing the contents of an existing
.I vac .I vac
file tree given by file tree whose score is stored in
.IR oldvacfile . .IR oldvacfile .
.TP .TP
.BI -e " exclude .BI -e " exclude
@ -122,7 +122,7 @@ matches any sequence of characters including slashes.
.BI -f " vacfile .BI -f " vacfile
The results of The results of
.I vac .I vac
are place in are placed in
.IR vacfile , .IR vacfile ,
or the standard output if no file is given. or the standard output if no file is given.
.TP .TP

View file

@ -133,7 +133,7 @@ The
.B -i .B -i
and and
.B -r .B -r
option control options control
.IR copy 's .IR copy 's
reaction to errors reading reaction to errors reading
from from

View file

@ -37,7 +37,8 @@ venti \- archival storage server
.I webroot .I webroot
] ]
.SH DESCRIPTION .SH DESCRIPTION
Venti is a SHA1-addressed archival storage server. .I Venti
is a SHA1-addressed archival storage server.
See See
.IR venti (7) .IR venti (7)
for a full introduction to the system. for a full introduction to the system.
@ -222,11 +223,13 @@ the venti protocol as described in
.IR venti (7), .IR venti (7),
and one serving HTTP and one serving HTTP
(conventionally TCP port (conventionally TCP port
.BR venti , .BR http ,
80). 80).
.PP .PP
The venti web server provides the following The venti web server provides the following
URLs for accessing status information: URLs for accessing status information:
.TF "\fL/storage"
.PD
.TP .TP
.B /index .B /index
A summary of the usage of the arenas and index sections. A summary of the usage of the arenas and index sections.
@ -317,6 +320,8 @@ The configuration file consists of lines in the form described below.
Lines starting with Lines starting with
.B # .B #
are comments. are comments.
.TF "\fLindex\fI name "
.PD
.TP .TP
.BI index " name .BI index " name
Names the index for the system. Names the index for the system.
@ -350,7 +355,7 @@ flag to update the index.
The configuration file also holds configuration parameters The configuration file also holds configuration parameters
for the venti server itself. for the venti server itself.
These are: These are:
.TF httpaddr netaddr .TF "\fLhttpaddr\fI netaddr "
.TP .TP
.BI mem " size .BI mem " size
lump cache size lump cache size
@ -376,8 +381,9 @@ queue writes in memory
(default is not to queue) (default is not to queue)
.TP .TP
.BI webroot " dir .BI webroot " dir
directory tree containing files for HTTP server directory tree containing files for
to consult for unrecognized URLs .IR venti 's
internal HTTP server to consult for unrecognized URLs
.PD .PD
.PP .PP
The units for the various cache sizes above can be specified by appending a The units for the various cache sizes above can be specified by appending a
@ -415,6 +421,8 @@ can be specified in the configuration file.
The command line options override those found in a The command line options override those found in a
configuration file. configuration file.
Additional options are: Additional options are:
.TF "\fL-c\fI config"
.PD
.TP .TP
.BI -c " config .BI -c " config
The server configuration file The server configuration file
@ -452,12 +460,13 @@ icmem 30M
% %
.EE .EE
.PP .PP
Format the index sections, the arena partition, and Format the index sections, the arena partition,
the bloom filter, and
finally the main index: finally the main index:
.IP .IP
.EX .EX
% venti/fmtisect isect0. /tmp/disks/isect0 & % venti/fmtisect isect0. /tmp/disks/isect0
% venti/fmtisect isect1. /tmp/disks/isect1 & % venti/fmtisect isect1. /tmp/disks/isect1
% venti/fmtarenas arenas0. /tmp/disks/arenas & % venti/fmtarenas arenas0. /tmp/disks/arenas &
% venti/fmtbloom /tmp/disks/bloom & % venti/fmtbloom /tmp/disks/bloom &
% wait % wait