ref: 62860abc1baa132f3419c0b08c8907284f6aa520
dir: /man/mafs.4/
.TH MAFS 4 .SH NAME mafs \- file server .SH SYNOPSIS .B mafs [ .B -D ] [ .B -f .I file ] [ .B -h .I nbuckets ] [ .B -n .I name TODO ] [ .B -a .I announce-string ] ... [ -r ] [ .B -s ] .SH DESCRIPTION .I Mafs is a user space file server on a single partition. .PP The options are: .TF "n name" .TP .BI "-f " file Use .I file as the disk. .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 "-n " name Use .I name as the name of the service. .TP .BI "-a " announce-string will announce and listen on the specified network address. .TP .B -r Ream the file system, erasing all of the old data. .TP .B -s Read and write protocol messages on standard file descriptors zero and one. .PD .SH SOURCE .B /sys/src/cmd/mafs .SH "SEE ALSO" .IR mafs (8), .IR prep (8), .IR sd (3) .SH BUGS .LP .I Mafs is a work in progress.