mntgen: import mntgen(4) from Plan 9

new file:   man/man4/mntgen.4
new file:   src/cmd/mntgen.c
This commit is contained in:
fgergo 2024-01-07 17:06:26 +01:00 committed by Dan Cross
parent f8681acb37
commit 897625ff9b
2 changed files with 288 additions and 0 deletions

32
man/man4/mntgen.4 Normal file
View file

@ -0,0 +1,32 @@
.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
.I service \fR
file.
.SH SOURCE
.B \*9/src/cmd/mntgen.c