commit ce8d6f246568cdb397a0a0095ad843a9769149a8
parent 3155ec718b80413db5b6c90fde8101bda93ccf93
Author: David du Colombier <0intro@gmail.com>
Date: Mon, 13 Jun 2011 14:41:52 -0400
vacfs: document replacement of -c flag by -M
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4595049
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git 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
@@ -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");
}