commit ce8d6f246568cdb397a0a0095ad843a9769149a8 from: David du Colombier <0intro@gmail.com> via: Russ Cox date: Mon Jun 13 18:41:52 2011 UTC vacfs: document replacement of -c flag by -M R=rsc CC=plan9port.codebot http://codereview.appspot.com/4595049 commit - 3155ec718b80413db5b6c90fde8101bda93ccf93 commit + ce8d6f246568cdb397a0a0095ad843a9769149a8 blob - 783f9ab192dc126a5e3b40f51f454ab56d0fb624 blob + 143e782bfb235f548059a1a48e3362723f9c6bf0 --- man/man4/vacfs.4 +++ 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 blob - 231c4164e8f49b58735cfca73e2d4d385639a56b blob + 3fbcd571f22e865a3a4347b8996f927b4cdb34cf --- src/cmd/vac/vacfs.c +++ 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"); }