The
mount_ptyfs command attaches an instance of the pseudo-terminal device filesystem to the global filesystem namespace. The conventional mount point is
/dev/pts. The directory specified by
mount_point is converted to an absolute path before use. This command is normally executed by
mount(8) at boot time.
The filesystem contains pseudo-terminal slave device nodes which are allocated dynamically via
ptm(4), or they are already open via traditional BSD style ptys.
The options are as follows:
-c
Allows ptyfs to be mounted inside a chrooted environment.
-g group|gid
Specify the group ownership of the slave pseudo-tty.
-m mode
Specify the default mode of the slave pseudo-tty.
-o
Options are specified with a
-o flag followed by a comma separated string of options.
mount_ptyfs specific options are
chroot which corresponds to
-c,
group which corresponds to
-g, and
mode which corresponds to
-m. See the
mount(8) man page for possible options and their meanings.