On Fri, Mar 14, 2014 at 09:51:12AM -0400, Christos Zoulas wrote: > I don't think that putting ptmx inside devpts makes sense. OTOH, we > could have multiple ptmx devices with different minor numbers and use that > as the differentiating factor for the pty devices. I think that's too complex > and probably not worth it (at least in the first pass).
Actually, it would simplify things a lot if /dev/ptmx was a symlink to /dev/pts/ptmx. The ptyfs instance could assign a unique minor number per instance and use that to associate the instance with the correct mount point. Joerg