shithub: riscv

ref: 06731838403de9fa6bb4eaa6c5010b3ed70f210e
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