tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enhance ptyfs to handle multiple instances.



        Hello.  I actually do use ptmx(4) without ptyfs, but I would be
willing for that to go away in NetBSD-7 or 8.
-Brian

On Mar 14,  2:40pm, Christos Zoulas wrote:
} Subject: Re: Enhance ptyfs to handle multiple instances.
} In article <20140314143532.GA17867%britannica.bec.de@localhost>,
} Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
} >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.
} 
} Yes, except that ptmx is supposed to work without ptyfs, but I guess that
} nobody uses it this way anymore.
} 
} christos
} 
>-- End of excerpt from Christos Zoulas




Home | Main Index | Thread Index | Old Index