diff options
author | David du Colombier <0intro@gmail.com> | 2011-06-13 14:41:52 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-06-13 14:41:52 -0400 |
commit | ce8d6f246568cdb397a0a0095ad843a9769149a8 (patch) | |
tree | 8dda8db37852634413071c928eb21784a46e3edd | |
parent | 3155ec718b80413db5b6c90fde8101bda93ccf93 (diff) | |
download | plan9port-ce8d6f246568cdb397a0a0095ad843a9769149a8.tar.gz plan9port-ce8d6f246568cdb397a0a0095ad843a9769149a8.tar.bz2 plan9port-ce8d6f246568cdb397a0a0095ad843a9769149a8.zip |
vacfs: document replacement of -c flag by -M
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4595049
-rw-r--r-- | man/man4/vacfs.4 | 14 | ||||
-rw-r--r-- | src/cmd/vac/vacfs.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/man/man4/vacfs.4 b/man/man4/vacfs.4 index 783f9ab1..143e782b 100644 --- a/man/man4/vacfs.4 +++ b/man/man4/vacfs.4 @@ -7,10 +7,6 @@ vacfs \- a Venti-based file system .B -dip ] [ -.B -c -.I cachesize -] -[ .B -h .I host ] @@ -22,6 +18,10 @@ vacfs \- a Venti-based file system .B -s .I srvname ] +[ +.B -M +.I mem +] .I vacfile .SH DESCRIPTION .I Vacfs @@ -41,9 +41,6 @@ Options to .I vacfs are: .TP -.BI -c " cachesize -The number of file system blocks to cache in memory. The default is 1000 blocks. -.TP .B -d Print debugging information to standard error. .TP @@ -77,6 +74,9 @@ is without any directory name or .L .vac extension. +.TP +.BI -M " mem +The amount of memory, in bytes, allocated to the block cache. The default is 16M. .PD .SH SOURCE .B \*9/src/cmd/vac diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c index 231c4164..3fbcd571 100644 --- a/src/cmd/vac/vacfs.c +++ b/src/cmd/vac/vacfs.c @@ -274,7 +274,7 @@ srv(void *a) void usage(void) { - fprint(2, "usage: %s [-sd] [-h host] [-c ncache] [-m mountpoint] vacfile\n", argv0); + fprint(2, "usage: %s [-sd] [-h host] [-m mountpoint] [-M mem] vacfile\n", argv0); threadexitsall("usage"); } |