ref: 0a0caf0005f106f65da7239ffda825cb53c74a6d
dir: /man/mafs.4/
.TH MAFS 4 .SH NAME mafs \- file server .SH SYNOPSIS .B mafs [ .B -Ds ] [ .B -n .I service ] [ .B -r .I service ] [ .B -m .I nmemunits ] [ .B -h .I nbuckets ] [ .B -w .I npendingwrites ] [ .B -a .I announce-string ] .B file .B mfs [ .B -Ds ] [ .B -n .I service ] [ .B -r .I service ] [ .B -m .I nmemunits ] [ .B -h .I nbuckets ] [ .B -a .I announce-string ] .B file .SH DESCRIPTION .I Mfs and .I Mafs are user space file servers that run on a single partition. .PP The options are: .TF "n name" .TP .I file Use .I file as the disk. .TP .BI "-n " service Use .I service as the name of the service instead of the .I service provide with -r, just for this run. mafs posts the file /srv/service that can be used to mount this filesystem. .TP .BI "-r " service Ream the file system, erasing all of the old data. Use .I service as the name of the service. mafs posts the file /srv/service that can be used to mount this filesystem. .TP .B -s Read and write protocol messages on standard file descriptors zero and one. .TP .BI "-m " nmemunits Allocate .I nbuckets hash buckets to use for Iobuf cache. Each bucket links into a least recently used circular linked list of Iobuf's. .TP .BI "-h " nbuckets Allocate .I nbuckets hash buckets to use for Iobuf cache. Each bucket links into a least recently used circular linked list of Iobuf's. .TP .BI "-w " npendingwrites Allocate .I nbuckets hash buckets to use for Iobuf cache. Each bucket links into a least recently used circular linked list of Iobuf's. .TP .BI "-a " announce-string will announce and listen on the specified network address. .PD .SH SOURCE .B /sys/src/cmd/mafs .B /sys/src/cmd/mfs .SH "SEE ALSO" .IR mafs (8), .IR prep (8), .IR sd (3) .br Mafs - Plan 9 userspace file system