[PATCH 11/11][v3]: Enable multiple instances of devpts
H. Peter Anvin
hpa at zytor.com
Wed Sep 3 23:38:59 PDT 2008
sukadev at us.ibm.com wrote:
> 2. To effectively use the multi-instance mode, applications/libraries
> should, open "/dev/pts/ptmx" instead of "/dev/ptmx" but obviously
> this would fail in the legacy mode.
/dev/ptmx is required by Unix98 (which is arguably obsolete, but still.)
Applications SHOULD NOT try to open /dev/pts/pmtx. This should be
considered strictly an internal implementation detail.
Applications should use posix_openpt(), openpty() or forkpty();
libraries should use /dev/ptmx.
More information about the Containers