NAME
mntgen – automatically generate mount points for file systems

SYNOPSIS
mntgen [ –s service ] [ mnt ]

DESCRIPTION
Mntgen mounts itself on mnt (default /n) after the current contents, creating subdirectories in the namespace it serves (but not in underlying storage) on demand as they are accessed. It is intended to supply mount points automatically.

The –s option causes mntgen to post a 9P service file in /srv/service.

SOURCE
/sys/src/cmd/mntgen.c
Copyright © 2026 Plan 9 Foundation