code: mafs

ref: 6e2e8c58342a6b3bba516d0ee42107a54d4c7717
dir: /man/mafs.4/

View raw version
.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
.SH DESCRIPTION
.I Mafs
is a user space file server 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
.SH "SEE ALSO"
.IR mafs (8),
.IR prep (8),
.IR sd (3)
.br
Mafs - Plan 9 userspace file system