shithub: riscv

ref: 2fecc5789efc1cf1f0343890a363adc7ccaaeda5
dir: /sys/man/4/mntgen/

View raw version
.TH MNTGEN 4
.SH NAME
mntgen  \-  automatically generate mount points for file systems
.SH SYNOPSIS
.B mntgen
[
.B -s
.I service
]
[
.I mnt
]
.SH DESCRIPTION
.I Mntgen
mounts itself on
.I mnt
(default
.BR /n )
after the current contents,
creating subdirectories on demand as they are accessed.
It is intended to supply mount points automatically.
.PP
The
.B -s
option causes
.I mntgen
to post a 9P service file in
.BI /srv/ service \fR.
.SH SOURCE
.B /sys/src/cmd/mntgen.c