H. Peter Anvin [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] 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. >> > > NOT SO! > > /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.
Ah, ok. Well, I will remove that para from the patch description. If the -o newinstance is NOT followed by the bind mount, ptys won't work and would be nice if we can print a useful message when opening /dev/ptmx. > > Applications should use posix_openpt(), openpty() or forkpty(); libraries > should use /dev/ptmx. > > -hpa _______________________________________________ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel