aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/man4/vacfs.414
-rw-r--r--src/cmd/vac/vacfs.c2
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");
}